Hi,
I am using AEM 6.1.
Could anyone please advise if we can keep some components as "non-authoring" , which means once developed and placed by developer, author will not have rights to change those ? Can we do that ? and How ?
Thanks,
Priyanka
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
if you include a component in the template under a parsys the author should be able to edit but not remove. You can try adding the component directly into your JSP with a cq:include, then see if you can delete the component, shouldn't be able to. Some more info about creating a boilerplate template. [1] Also here is another article you could use to prevent edit access.
Alternatively you could add your component to a page and include that page, in this way you would be including the rendered code.
Regards,
Opkar
[1] http://adobeaemclub.com/creating-page-boilerplate-nodes/
[2]https://docs.adobe.com/docs/en/cq/5-6-1/developing/boilerplates.html
Views
Replies
Total Likes
Hi,
if you include a component in the template under a parsys the author should be able to edit but not remove. You can try adding the component directly into your JSP with a cq:include, then see if you can delete the component, shouldn't be able to. Some more info about creating a boilerplate template. [1] Also here is another article you could use to prevent edit access.
Alternatively you could add your component to a page and include that page, in this way you would be including the rendered code.
Regards,
Opkar
[1] http://adobeaemclub.com/creating-page-boilerplate-nodes/
[2]https://docs.adobe.com/docs/en/cq/5-6-1/developing/boilerplates.html
Views
Replies
Total Likes
You can directly create the component as part of template. Dont have the dialog or editconfig created, author will not be able to change anything there.
Views
Replies
Total Likes
FYI - the AEM 6.1 documentation for developing components is at
http://docs.adobe.com/docs/en/aem/6-1/develop/components.html
and includes the section on boilerplates.
- JK
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies