Fetch properties from content fragment | Community
Skip to main content
Level 4
September 20, 2022
Solved

Fetch properties from content fragment

  • September 20, 2022
  • 1 reply
  • 882 views

I have a content fragment the jcr of which has got a child node named master within which the values are stored. Say there is a property xyz whose value is a group of tags, (this is stored in master node) now how do I fetch that property's values into my sling model. If someone could provide me with the code/explanation of the steps, it'll be really helpful.

 

@arunpatidar @sachin_arora_ @heenamadan @lukasz-m @briankasingli @santoshsai @milind_bachani @debal_das 

 

Thanks in advance 🙂

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Saravanan_Dharmaraj

Check this out which explains about the querying content fragments and using sling model to access the properties stored jcr:content/data/master node. 

 

https://engineering.icf.com/aem-content-fragments-as-an-api/ 

1 reply

Saravanan_Dharmaraj
Community Advisor
Saravanan_DharmarajCommunity AdvisorAccepted solution
Community Advisor
September 20, 2022

Check this out which explains about the querying content fragments and using sling model to access the properties stored jcr:content/data/master node. 

 

https://engineering.icf.com/aem-content-fragments-as-an-api/