How to set default policy for XF template in AEM
How do I set 2 default policies for an Experience Fragments in AEM? Currently when I have to create a new XF, I need to navigate to General --> Templates every time and define the page policy with the correct policy for the client libs.
<jcr:content
cq:lastModified="{Date}2025-07-16T11:13:40.354-04:00"
cq:lastModifiedBy="admin"
cq:policy="wcm/foundation/components/page/policy"
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mappings">
<root
cq:policy="jhi-experience-fragments/foundation/components/responsivegrid/policy_84186787001333"
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mapping"/>
<anotherRoot
cq:policy="jhi-experience-fragments/foundation/components/xfpage/policy_1752691690759"
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mapping"/>
</jcr:content>