Highlighted

Populating aem pathfield with custom datasource

bradc41659614

28-08-2019

I found this link https://helpx.adobe.com/experience-manager/using/creating-granite-datasource.html on how to populate a select field with a datasource, and it basically just passes an array into it. How can i do something similar with pathfield? I have some JSON that i want to pass in and have it displayed in the tree structure of the pathfield

Replies

Highlighted

rampai

29-08-2019

Hi bradc10998411​,

Do you mean parsing a json to display as tree without actually creating the nodes in JCR?

This was possible in Classic UI using CQ.Ext.tree.TreePanel but in Touch UI am yet to find anything similar.