Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
When using the JSON DataProvider and importing a csv string that is going to be mapped to an Umbraco.MultiNodeTreePicker property you have to format the JSON like this:
{ "Authors": "Jane Eyre,Charles Dickens,Virginia Woolf,George Orwell" }
It would be wonderful if the JSON could be formatted like an array. Like this:
{ "Authors": [ "Jane Eyre", "Charles Dickens", "Virginia Woolf", "George Orwell" ] }
If I'm generating the JSON via code having the array of strings is much more natural than having a csv string as a property value.
Thanks!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
CMSImport.DataProviders.JSON -- allow array of strings for mapping MNTP properties
When using the JSON DataProvider and importing a csv string that is going to be mapped to an Umbraco.MultiNodeTreePicker property you have to format the JSON like this:
It would be wonderful if the JSON could be formatted like an array. Like this:
If I'm generating the JSON via code having the array of strings is much more natural than having a csv string as a property value.
Thanks!
is working on a reply...