Assets - JSON import array objects into single field

Giedrius Daugmaudis November 9, 2023

Trying to import JSON file, that lists relationships with other existing objects.
"Name" IN (${somename${0}}) << this thing only works for comma separated stuff for CSV only it seems..

Any idea how to separate on the import something like this?

{"somename": "Thing1;Thing2"}

1 answer

0 votes
Giedrius Daugmaudis November 9, 2023

Ah, it's the source... 
It needs to be actual array.. {"somename": ["Thing1;Thing2"]}
Then "Name" IN (${somename${0}}) will work just fine. 

Only thing left is to somehow convince source providers do something about it... 

Suggest an answer

Log in or Sign up to answer