0

I am trying to insert records into the same entry using FeedMe with Matrix and Table for one of the fields. My table field is a plain text. So I have one programLevel, one program and a field that collects many text entry lists in a Table field. No matter what I do, depending on the structure of the JSON. I either overwrite the record already there or it gets 2 entries into the Matrix field but combines all the plain text entries into the Table field (code below). Not sure what I am doing wrong here.

Basically I end up with 2 Matrix entries but a combined Table field called Lists. Basically, Test text 1, Test text 2, Test text 3, etc in the Table field for both Matrix records in the entry. Is there a proper way to get this formatted correctly please?

[
    {
        "title":"Test Entry",
        "programs": [
            {
                "programLevel":"Alpha",
                "program":"Vector1",
                "listItems": [
                    "Test text 1",
                    "Test text 2"
                ]
            },
            {
                "programLevel":"Beta",
                "program":"Vector1",
                "listItems": [
                    "Test text 3",
                    "Test text 4"
                ]
            }  
        ]
    }
]
  • I think this may be a bug in the plugin. Using Craft 3.0.2. – Vin Apr 14 '18 at 22:02
  • Has anyone else had this issue? – Vin Apr 16 '18 at 5:52
0

Thank you Verbb for fixing this up. The answer can be found here.

https://github.com/verbb/feed-me/issues/298

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.