How to restrict components in parsys | Community
Skip to main content
October 16, 2015
Solved

How to restrict components in parsys

  • October 16, 2015
  • 2 replies
  • 1114 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

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

2 replies

smacdonald2008
smacdonald2008Accepted solution
New Participant
October 16, 2015

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

October 16, 2015

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