Template Senarios
If I have two templates A and B whenever I create a page under template A but it should always use template B how should I achieve that?
If I have two templates A and B whenever I create a page under template A but it should always use template B how should I achieve that?
You can use cq:allowedTemplates property to allow specific templates to be visible under a path.
You can set this property on /conf/project/settings/wcm/templates/template-a/initial/jcr:content of the Template A. So once the author creates a page using Template A, the page will have Template B as cq:allowedTemplates property and Authors can choose only Template B to create a page under it.
Reference : /content/we-retail/jcr:content

Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.