Annotation tool edit access on template level | Community
Skip to main content
August 24, 2023
Solved

Annotation tool edit access on template level

  • August 24, 2023
  • 2 replies
  • 1021 views

Annotation tool is not showing up for components other than parsys in the page.

Observations:
The components have cq:action property in cq:editConfig node under them, which donot contain 'editannotate' property value. Adding 'editannotate' value to each components solves the problem.

But instead of making changes to each individual components, can we have any global solution for a component group or any access on a template level works?

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 sherinregi-1

hi @surabhi307667305mh8 

Editannotate property comes under the cq:actions which is meant for defining actions at a component level.

 

One thing I can think of is you can define the cq:EditConfig on a container eg: parsys and use cq:childEditConfig if you want to have custom config for the child nodes. Otherwise the parent config will be applied to all children and need not make a changes a each level.

 

cq:childEditConfigcq:EditConfigWhen the component is a container—for example a paragraph system—it drives the edit configuration of the child nodes.
cq:editConfigcq:EditConfigEdit configuration of the component.

 

Also please check below link different usecase but same properties used.

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/inheriting-parsys-supertype-but-overriding-cq-editconfig/m-p/270593

 

Hope it helps

 

2 replies

Shashi_Mulugu
Community Advisor
Community Advisor
August 24, 2023

@surabhi307667305mh8 if you don't have any editconfig with ca:action property, all options are available by default but if you have node with other options, then it's mandatory to include each action you need.

sherinregi-1
Community Advisor
sherinregi-1Community AdvisorAccepted solution
Community Advisor
August 24, 2023

hi @surabhi307667305mh8 

Editannotate property comes under the cq:actions which is meant for defining actions at a component level.

 

One thing I can think of is you can define the cq:EditConfig on a container eg: parsys and use cq:childEditConfig if you want to have custom config for the child nodes. Otherwise the parent config will be applied to all children and need not make a changes a each level.

 

cq:childEditConfigcq:EditConfigWhen the component is a container—for example a paragraph system—it drives the edit configuration of the child nodes.
cq:editConfigcq:EditConfigEdit configuration of the component.

 

Also please check below link different usecase but same properties used.

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/inheriting-parsys-supertype-but-overriding-cq-editconfig/m-p/270593

 

Hope it helps

 

September 7, 2023

Thankyou @sherinregi-1 for your response.
But as per the above solution, we are going to make modifications to each and every component itself, and this cannot be considered a global solution, am I correct?

sherinregi-1
Community Advisor
Community Advisor
September 8, 2023

@surabhi307667305mh8  Yes that is correct you will have to define at component level