Skip navigation

CQ5

Currently Being Moderated

can I set sidekick's Allowed Components for a parsys at the Template level?

Jul 19, 2012 2:36 PM

Tags: #components #allowed #parsys #cq5.5

The components page section on parsys[1] explains that you can set the sidekick's Allowed Components for a parsys by clicking Design Mode (ruler icon) in sidekick, then clicking Edit on the parsys and putting a checkmark on the components you want.  We are defining templates for our authoring users and I don't want them to have to go through that effort for every page.  I want to define something at the Template level which specifies the Allowed Components so that the user can use WCM New Page and the parsys on the page will already be set up right.  How do I do this?

 

Our template has sling:resourceType=/apps/hello/components/ourpage, and ourpage has a JSP which specifies:

    <cq:include path="par" resourceType="hello/components/ourparsys"/>

We just copied ourparsys from the foundation parsys.  Inside it has a design_dialog, which I double-clicked in CRXDE Lite and I see the Design View ("Edit Component," "ParSys (Design)").  I put a checkmark on one of the Allowed Components, clicked Save, but the checkmark was not saved.  When I closed this view and double-clicked the design_dialog again, the checkmark was gone, and when I went to WCM Websites and made a New Page from our template the sidekick still did not show our desired component.

 

So please advise, is there any way to set Allowed Components so it will take effect on all New Page webpages made from a given template?

 

[1] http://wem.help.adobe.com/enterprise/en_US/10-0/wem/wcm/default_compon ents.html#Paragraph System (parsys)

 
Replies
  • Currently Being Moderated
    Jul 19, 2012 9:39 PM   in reply to dknc

    Allowed component is part of design. Make sure to configure the property "components" as type string[] with list of all the components.  As an example for geometrixx you can refer [1]. 

     

    From firebug console what is the error you are getting when you checked and save from felix console?

     

    [1] /etc/designs/geometrixx/jcr:content/contentpage/par/@components

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points