Skip to main content
May 5, 2023
Beantwortet

How to include custom components on an adaptive form fragment

  • May 5, 2023
  • 1 Antwort
  • 591 Ansichten

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?

Dieses Thema wurde für Antworten geschlossen.
Beste Antwort von 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 Antwort

Pulkit_Jain_
Adobe Employee
Adobe 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.