AEM Developer Certification - Templates | Community
Skip to main content
Level 3
January 26, 2025
Solved

AEM Developer Certification - Templates

  • January 26, 2025
  • 3 replies
  • 539 views

A developer needs to make template T available as a child page of page P. The developer has determined that:

  • Template T matches cq:allowedTemplates property on page P.
  • Template T has no allowedPaths Property set.
  • Template T is not in the same application as page P.
  • The template of page P has no match on the allowedParents property of template T.
  • Template T has no match on the allowedTemplate property on the template of page P.

What should the developer change?

 

Make Page P match allowedPaths property of template T.

 

Make the allowedParents property of template T match the template of page P.

 

Clear the allowedParents property of template T.

 

Migrate template T to the same application as Page P.

Best answer by Raja_Reddy

Hi @s__k__agarwal 
you can follow below approach

Make the allowed Parents property of template T match the template of page P.

3 replies

Raja_Reddy
Community Advisor
Raja_ReddyCommunity AdvisorAccepted solution
Community Advisor
January 27, 2025

Hi @s__k__agarwal 
you can follow below approach

Make the allowed Parents property of template T match the template of page P.

AmitVishwakarma
Community Advisor
Community Advisor
February 2, 2025

The developer should make the allowedParents property of template T match the template of page P. This ensures that template T can be used as a valid child of page P.