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

SOLVED

Fetch properties from content fragment

Avatar

Level 3

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 @sachinarora @HeenaMadan @lukasz-m @BrianKasingli @SantoshSai @milind_bachani @DEBAL_DAS 

 

Thanks in advance 🙂

1 Accepted Solution

Avatar

Correct answer by
Level 8

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/ 

View solution in original post

1 Reply

Avatar

Correct answer by
Level 8

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/