내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
해결됨

How do I create two experience fragment templates and then insert them into two different page templates?

Avatar

Level 2

Means inserting the two experience fragment templates into two distinct page templates. That is, in a page template you can only insert one experience fragmen, not both.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor
4 답변 개

Avatar

Level 5

The question is not clear. What do you mean by inserting template into another template? We can insert a component in a page template but not a template.

Do you mean using experience fragment component to use experience fragments in page template?

Avatar

Level 2

I need to create two experience fragment templates. And then I have to enable the two EX templates in two different page templates.

Avatar

Level 4

You can create XF templates, but when you say you want to enable those templates, you mean to add them as allowedTemplates right?

 

Regards,

Ramkumar

Avatar

정확한 답변 작성자:
Community Advisor

Hello @Vodjakxa ,
you can try with,

cq:allowedTemplates="value is your page template path"

Reference: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/allowedpaths-and-allowedpa...