Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

How to include custom components on an adaptive form fragment

Avatar

Level 1

I have custom components that i need to add to my Adaptive form fragments. My fragments still have the default cq:template '/libs/fd/af/templateForFragment/defaultFragmentTemplate'. However my Adaptive forms do have their own cq:template and i was able to add a policy that allows the use of these components on the Adaptive forms.

 

But i can't seem to figure out how to make such a policy for the default fragment template, does anyone have a solution / suggestion?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@17398930 

You can overlay the default template (example -/apps/fd/af/templateForFragment/defaultFragmentTemplate) or create a new template, add the custom components to this custom template and update the template path for the fragment via crxde.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

@17398930 

You can overlay the default template (example -/apps/fd/af/templateForFragment/defaultFragmentTemplate) or create a new template, add the custom components to this custom template and update the template path for the fragment via crxde.