Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

How to restrict components in parsys

Avatar

Former Community Member

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

1 Accepted Solution

Avatar

Correct answer by
Level 10

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

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

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

Avatar

Former Community Member

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).