How to include custom components on an adaptive form fragment | Community
Skip to main content
New Participant
May 5, 2023
Solved

How to include custom components on an adaptive form fragment

  • May 5, 2023
  • 1 reply
  • 581 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Pulkit_Jain_

@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.

1 reply

Pulkit_Jain_
Pulkit_Jain_Accepted solution
Employee
May 10, 2023

@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.