Is there a way in CQ 5.6 to restrict use of specific components within a parsys? e.g. I want to restrict author to use only text component within a parsys, following is how I render the parsys inside one of my component JSP file:
<cq:include path="textpar" resourceType="foundation/components/parsys" />
Previously in CQ 5.4 following code in /etc/designs/myapp/.content.xml used to work for this:
<textpar jcr:lastModified="{Date}2012-10-21T15:00:00.000-07:00" jcr:lastModifiedBy="admin" jcr:primaryType="nt:unstructured" sling:resourceType="foundation/components/parsys" components="[/libs/foundation/components/text]"> <section jcr:primaryType="nt:unstructured"/>
But in CQ 5.6 it's not working. Am I missing something or the way to restrict components changed?
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
I was reading in the upgrade documentation and this was not noted as a difference:
http://dev.day.com/docs/en/cq/current/deploying/upgrading.html
If it worked in 5.4 and not in the later version - it may be a bug. Please open a ticket here:
http://helpx.adobe.com/marketing-cloud/experience-manager.html
Views
Replies
Total Likes
I was reading in the upgrade documentation and this was not noted as a difference:
http://dev.day.com/docs/en/cq/current/deploying/upgrading.html
If it worked in 5.4 and not in the later version - it may be a bug. Please open a ticket here:
http://helpx.adobe.com/marketing-cloud/experience-manager.html
Views
Replies
Total Likes
Sorry, I got busy with work and couldn't reply. Yes, it's working. There's seems to be some cache issue though, whenever I change something in /etc/designs/myapp/.content.xml I've to clear my cache to get the updated components, this is on FF 25 (Ubuntu 12.04).
Views
Replies
Total Likes