When a form author creates an adaptive form using a template, the form author can see and use specific components based on template policy. You can specify a template content policy that lets you choose a group of components that the form author sees at the time of form authoring.
When you create a template, it is created under /conf in the content repository. Based on the folders you have created in the /conf directory, path to your template is: /conf/<your-folder>/settings/wcm/templates/<your-template>.
Perform the following steps to show the components in the sidebar based on the content policy of a template:
To select a group of components, a new content policy is required. To create a new policy, copy-paste the default policy, and rename it.
Path to default content policy is: /conf/<your-folder>/settings/wcm/policies/fd/af/layouts/gridFluidLayout/default
In the gridFluidLayout folder, copy-paste the default policy and rename it. For example, myPolicy.
Select the new policy you create, and select the components property in the right-side panel with type string.
When you select and open the components property, you see the Edit components dialog. The Edit components dialog lets you add or remove component groups using the + and - buttons. You can add component group that includes components that form you want authors to use.
In the template, change the content policy from default to the new policy you created. (myPolicy in this example.)
To change the policy, in CRXDE, navigate to /conf/<your-folder>/settings/wcm/templates/<your-template>/policies/jcr:content/guideContainer/rootPanel/items.
In the cq:policy property, change default to the new policy name (myPolicy).