Expand my Community achievements bar.

SOLVED

AEM Developer Certification - Templates

Avatar

Level 2

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.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @S__k__Agarwal 
you can follow below approach

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



View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi @S__k__Agarwal 
you can follow below approach

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



Avatar

Level 7

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.

Avatar

Level 2