Annotation not working on pages without layout container

Avatar

Avatar

manisha594391

Avatar

manisha594391

manisha594391

24-08-2020

Hi Team,

 

Is there any restriction on aem page annotations, that it will work only when layout container is a wrapper container for the page?

I can only annotate on a page using aem OOTB annotation plugin, if the wrapper component on the page is ootb layout container.

Steps for annotate a page without layout container as wrapper component in it-

1. Create an aem page

2. Drag and drop any component, may be richtext

3. Try to annotate the page. - The add event for annotate won't get triggered. Unable to add annotation

 

Steps for annotate a page with layout container as wrapper component in it-

1. Create an aem page

2. Drag and drop General->layout container component onto the page

3. Drag and drop any component may be rich text component inside the layout container

4. Try to annotate the page. - Able to annotate successfully.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Nikhil-Kumar

MVP

Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
MVP

24-08-2020

Answers (2)

Answers (2)

Avatar

Avatar

Vijayalakshmi_S

MVP

Avatar

Vijayalakshmi_S

MVP

Vijayalakshmi_S
MVP

24-08-2020

Hi @manisha594391,

Steps mentioned under "without layout container on page" says "Drag and drop any component". Are you referring to custom container component or parsys component. 

Avatar

Avatar

manisha594391

Avatar

manisha594391

manisha594391

30-08-2020

Thanks for suggestions team !! I found the RCA.

The issue is occurring because of cq:placeholder class.

The components I was trying to drag and drop were having cq:placeholder class added to there rendering htmls. Henceforth the annotations does not work there.

This is a known issue. The annotations does not work with cq:placeholder. Refer the below community article for details

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/cq-placeholder-issue-with-...