Expand my Community achievements bar.

Populating aem pathfield with custom datasource

Avatar

Level 2

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

3 Replies

Avatar

Level 6

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.

Avatar

Level 5

yes even i couldn't find something similar to this in Touch UI .