Query for Content fragment
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?
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?
@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.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.