Skip to main content
mohanb
New Participant
February 10, 2017

avoid cq decoration tags

  • February 10, 2017
  • 7 replies
  • 5891 views

Hi

When data-sly-include or resource is added AEM is generating this tag. I've used option wcmmode=disabled while including resource and it still shows up, kindly let know how to avoid it

         
cq{"decorated":false,"type":"/apps/myproject/components/structure/globalincludes/globalhead","path":"/content/test/includes/globalhead/jcr:content","selectors":null,"servlet":"Script /apps/myproject/components/structure/globalincludes/globalhead/globalhead.html","totalTime":11,"selfTime":11}-->
 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

7 replies

Feike_Visser1
Employee
February 10, 2017

did you remove editor.html when adding wcmmode=disabled?

Normally wcmmode=disable will remove these tags.

mohanb
mohanbAuthor
New Participant
February 11, 2017

yes. i viewed source generated after previewing the page via option "view as published". but it generates the text somewhat like this.

<cq data-path="/content/testsite/includes/globalfooter/jcr:content/globalfooterpar" data-config="{&quot;path&quot;:&quot;/content/testsite/includes/globalfooter/jcr:content/globalfooterpar&quot;,&quot;slingPath&quot;:&quot;/content/testsite/includes/globalfooter/jcr:content/globalfooterpar.html&quot;,&quot;dialog&quot;:&quot;/apps/myproject/components/content/globalfooter/cq:dialog&quot;,&quot;dialogLoadingMode&quot;:&quot;auto&quot;,&quot;dialogLayout&quot;:&quot;auto&quot;,&quot;dialogSrc&quot;:&quot;/mnt/override/apps/myproject/components/content/globalfooter/_cq_dialog.html/content/testsite/includes/globalfooter/jcr:content/globalfooterpar&quot;,&quot;type&quot;:&quot;myproject/components/content/globalfooter&quot;,&quot;csp&quot;:&quot;globalfooter|page/globalfooterpar|globalfooter|parbase&quot;,&quot;editConfig&quot;:{&quot;listeners&quot;:{&quot;afteredit&quot;:&quot;REFRESH_PAGE&quot;}}}"></cq>

seems  like it doesn't do what it's expected to do

Feike_Visser1
Employee
February 11, 2017

Does it look ok on publish?