Populating aem pathfield with custom datasource

Avatar

Avatar

bradc41659614

Avatar

bradc41659614

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

Avatar

Avatar

rampai

Avatar

rampai

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.

Highlighted

Avatar

Avatar

bradc41659614

Avatar

bradc41659614

bradc41659614

29-08-2019

Yes rampai that is what I mean, how unfortunate

Highlighted

Avatar

Avatar

Umesh_Sondhi

MVP

Avatar

Umesh_Sondhi

MVP

Umesh_Sondhi
MVP

25-09-2019

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