Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Populating aem pathfield with custom datasource

bradc41659614
Level 1
Level 1

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
rampai
Level 5
Level 5

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.

Umesh_Sondhi
Community Advisor
Community Advisor

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