Skip to main content
Oct 27, 2015 5:24 AM UTC
Solved

non authoring components

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
ogillAccepted solution
Adobe Employee
Oct 27, 2015 12:43 PM UTC

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

3 replies

ogillAdobe EmployeeAccepted solution
Adobe Employee
Oct 27, 2015 12:43 PM UTC

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

Translate
Lokesh_Shivalingaiah
Level 10
Oct 27, 2015 1:42 PM UTC

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.

Translate
JK_Kendall
Level 9
Oct 27, 2015 7:31 PM UTC

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

Translate