How to create a new component in AEM forms? | Community
Skip to main content
Jacket97
September 8, 2022
Solved

How to create a new component in AEM forms?

  • September 8, 2022
  • 2 replies
  • 784 views

Hi everyone! I am new to Aem Forms, I noticed that there are several components to choose from in Forms, how can you create a new component to be included in the list?

 

I don't intend to create a new adaptive module but a component to be inserted customized as on AEM site

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_

@jacket97 

The steps to create components in AEM forms remain the same as we have for AEM sites.

Once the custom component is created or if you want to add a new component to the list, you need to edit the template for that adaptive form in "Structure" mode and open the policy for the layout container. Once done, you'll have the list of allowed components for the templates.

You can create a new or existing policy, add new components to the allowed components list and save the template. Make sure the template is enabled.

Then, you should be able to get that component in the list when you create an adaptive form.

Hope this helps!

2 replies

Pulkit_Jain_
Adobe Employee
Pulkit_Jain_Adobe EmployeeAccepted solution
Adobe Employee
September 8, 2022

@jacket97 

The steps to create components in AEM forms remain the same as we have for AEM sites.

Once the custom component is created or if you want to add a new component to the list, you need to edit the template for that adaptive form in "Structure" mode and open the policy for the layout container. Once done, you'll have the list of allowed components for the templates.

You can create a new or existing policy, add new components to the allowed components list and save the template. Make sure the template is enabled.

Then, you should be able to get that component in the list when you create an adaptive form.

Hope this helps!

Mayank_Gandhi
Adobe Employee
Adobe Employee
September 29, 2022

@jacket97 create a component and add the component group as Adaptive form to make it visible along with other form components