Page 1 of 1

Best JSON format for Data Source

Posted: Fri Oct 04, 2024 8:16 am
by szalap
Hi,

We are looking into having a template built using JSON Data Source. I was wondering what would be the best format of JSON we should go for, so we do not end up fighting relationId battles. Should it have all the nodes nested (attachment: DataWithProperties.json) or can it reference ids from top level nodes (attachment: DataWithReferences.json).

Is there any tutorial or documentation on this topic?

Re: Best JSON format for Data Source

Posted: Mon Oct 07, 2024 7:43 am
by Lech Kulikowski
Hello,

When you use JSON with nested objects, all relations will be added automatically (DataWithProperties). In other case, you should add it manually (DataWithReferences).

Thank you.