QuestionQ22

No official topic/domain breakdown was publicly listed on the Adobe certification page or prep guide page I could access for AD0-E137

A customer needs to retrieve only the jcr:title property for pages created using the homepage template.

How should the developer write the query with the QueryBuilder API?

Explanation

For an AEM cq:Page, the assigned template is represented by the cq:template property beneath jcr:content; therefore the property predicate must use jcr:content/cq:template and match the homepage template path. Query Builder uses p.hits=selective together with p.properties to limit returned fields to the requested property. Adobe Query Builder API

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!