Publisher does not support the Fluid field type. Please do not contact asking when support will be available.
If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.
Ticket: Datagrab Not Displaying JSON Data From Arrays
Status | Resolved |
Add-on / Version | DataGrab 4.0.3 |
Severity | |
EE Version | 6.3.4 |
Doug Black
May 13, 2022Looking to move data from one site to the other, and appears that the JSON feed is not bringing in the array of grid fields I set up in the feed.
In the feed it displays the outgoing data as a json array of objects, so I can bring in the fields to the grid appropriately.
However, in the select box for the grid field, the JSON array field is not displayed at all as an option.
There is no data in the logs.
BoldMinded (Brian)
May 13, 2022
Can you share your import file so I can try to import it locally?
FYI I might not be able to really dig into this until early next week.
BoldMinded (Brian)
May 13, 2022
Regarding the import file, I don’t need every entry to import, just send an import file with 2 or 3 entries in it.
Doug Black
May 13, 2022
Comment has been marked private.
BoldMinded (Brian)
May 13, 2022
Oh, sorry. I didn’t even click that b/c I thought it was the site itself. Thanks
Doug Black
May 13, 2022
No worries! Site itself is still fully local. Production site has all of the old data.
BoldMinded (Brian)
May 13, 2022
Ah, it’s because the first entry in the list doesn’t have those nodes. If the first entry has that nested object then it seems to work fine.
Doug Black
May 13, 2022
I won’t have a lot of control over that kind of thing. Would that need to get fixed in the add-on? Or is there something else I should be doing on my end?
BoldMinded (Brian)
May 13, 2022
Something to fix in the add-on. The previous release “fixed” one issue, but created this new issue.
BoldMinded (Brian)
May 13, 2022
Comment has been marked private.
Doug Black
May 13, 2022
That fixed it! Thanks Brian
Doug Black
May 15, 2022
One more thing on this, when adding in the data from this feed, I get a notice and an error:
Undefined index: cf
user/addons/datagrab/mcp.datagrab.php, line 998
Severity: E_NOTICE
TypeError Caught
Argument 3 passed to Datagrab_grid::save_configuration() must be of the type array, null given, called in user/addons/datagrab/mcp.datagrab.php on line 998
Here’s video walkthrough: https://youtu.be/ISa0tYOMnYI
BoldMinded (Brian)
May 16, 2022
Doug, did you try to delete and re-create the import configuration?
Doug Black
May 16, 2022
It won’t even let me save the initial one.
BoldMinded (Brian)
May 16, 2022
Comment has been marked private.
Doug Black
May 16, 2022
Perfect, that worked to save and import! Thanks Brian!
BoldMinded (Brian)
May 16, 2022
Comment has been marked private.