Quantcast
Channel: Adobe Community : Popular Discussions - CQ5 (read only)
Viewing all articles
Browse latest Browse all 12476

Setting default parsys component and packaging them

$
0
0

Hi,

 

Is anyone familiar with how to enable default components to appear in a certain parsys?

 

Usually what I would do is manually go into Design Mode, find that certain parsys that I want to edit, click on the Edit, and locate the component under the "Allowed Components" list and check the box corresponding to enabling that component. I found out that when a component is checked to appear in that certain parsys, it will also automatically create a node (eg. mynode) at "/etc/design/default/jcr:content/mynode". And within this node, there will be a property called "components" that will determine what component will appear in this parsys. So I am assuming that this is the way to enable components in the parsys through the codes (without having to manually enable them at that webpage).

 

After which, I will package all the contents of "/etc/design/default/jcr:content/mynode" and proceed to deploy it in my client's server. The problem now is, the contents once installed (in client's server), is deleted once again. I suspect it has something to do with it being under jcr:content. Is my assumption right? And how do I solve this? And if I package "/etc/design/default" and deploy it, it seems to work fine. I cannot deploy the whole default folder though. This is because, I cannot confirm if there are other projects that adds their "default components" under that folder. By putting only my "/etc/design/default", there might be a possibility of removing my client's other project's default components.

 

To summarise, what I want is to package the contents of "/etc/design/default/jcr:content/mynode" and place it in my client's server, and make sure that it is not deleted (Assuming editing the contents of "/etc/design/default/jcr:content/mynode" is the way to create default parsys components).

 

Any detailed help will be appreciated! Thanks!


Viewing all articles
Browse latest Browse all 12476

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>