Skip to main content
Level 2
October 16, 2015
Resuelto

Extending pathField X-Type to populate tree from custom json

  • October 16, 2015
  • 4 respuestas
  • 1434 visualizaciones

Is there a way to populate custom tree structure in pathfield x-type, instead of repository tree.

Regards

Este tema ha sido cerrado para respuestas.
Mejor respuesta de pryadav84

Thanks for the response. I was able to implement this following this post: http://experience-aem.blogspot.com/2014/03/aem-cq-56-pathfield-widget-with-search.html

4 respuestas

pryadav84AutorRespuesta
Level 2
October 16, 2015

Thanks for the response. I was able to implement this following this post: http://experience-aem.blogspot.com/2014/03/aem-cq-56-pathfield-widget-with-search.html

smacdonald2008
Level 10
October 16, 2015

If you are interested in displaying data in a tree like structure - take a look at this article:

https://helpx.adobe.com/experience-manager/using/creating-custom-cq-tree.html

Its an example of populating an xtype using data returned by a Sling Servlet. 

You can code the Sling Servlet too to create JSON data so the widget displays data to address your business requirements. 

edubey
Level 10
October 16, 2015
Hi, Could you please be more specific for what you want. Share your use case if you can. Pathfield is for rendering tree structure, what do you mean by custom tree structures? Thanks    
edubey
Level 10
October 16, 2015