Hi Team,
There is one requirement where i need to fetch the list of Content Fragment through query builder which is having a keyword "profile" in its body. Can someone help me to get the exact query please?
Solved! Go to Solution.
Views
Replies
Total Likes
@skumari you can try like below
type=dam:Asset
path=/content/dam
boolproperty=jcr:content/contentFragment
boolproperty.value=true
property=jcr:content/data/cq:model
property.value=/conf/wknd-shared/settings/dam/cfm/models/adventure
fulltext=profile
fulltext.relPath=jcr:content/data/master
Check the examples here https://sourcedcode.com/blog/aem/aem-query-builder-examples-with-content-fragments and you can modify it for your models.
@skumari you can try like below
type=dam:Asset
path=/content/dam
boolproperty=jcr:content/contentFragment
boolproperty.value=true
property=jcr:content/data/cq:model
property.value=/conf/wknd-shared/settings/dam/cfm/models/adventure
fulltext=profile
fulltext.relPath=jcr:content/data/master
Check the examples here https://sourcedcode.com/blog/aem/aem-query-builder-examples-with-content-fragments and you can modify it for your models.
@Saravanan_Dharmaraj It worked!! Thank you so much.
Views
Replies
Total Likes
@skumari We hope you found the AEM community valuable. We anticipate your return as either a learner or a contributor. The community benefits from SMEs like you. Please ask your AEM peers to join and contribute. Happy AEM learning!
Views
Replies
Total Likes