We have a requirement to create header using tabs component.
We have added this tab component in Header.html file using below code:
<header>
<sly data-sly-resource="${ @path = header, resourceType = '/apps/abc/components/content/tabs', wcmmode=mode}"></sly>
</header>
In the pages, we are not able to add any tab item.
We need to allow only one specific component to be added to the tabs in this scenario.
We tried to add policies but its giving PersistenceEsxception: unable to create node at /conf/abc/settings/wcm/policies.
Any suggestions on this issue how to fix it?
@kautuk_sahni @arunpatidar @aanchal-sikka @EstebanBustamante
@Raja_Reddy @TarunKumar @Saravanan_Dharmaraj @Jörg_Hoh
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @S__k__Agarwal
Yes, you can add policies to the include component,
Please check snippet here, where tabs component have different policy for parsys, you need to do similar but for header component : https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-how-to-restrict-compon...
Hi @S__k__Agarwal
Yes, you can add policies to the include component,
Please check snippet here, where tabs component have different policy for parsys, you need to do similar but for header component : https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-how-to-restrict-compon...
Views
Likes
Replies