non authoring components | Community
Skip to main content
October 27, 2015
Solved

non authoring components

  • October 27, 2015
  • 3 replies
  • 867 views

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.
Best answer by ogill

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

JK_Kendall
New Participant
October 27, 2015

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

Lokesh_Shivalingaiah
New Participant
October 27, 2015

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.

ogillAccepted solution
Employee
October 27, 2015

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