Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Adaptive Form Editable Templates - Where are the <head> <meta> tags


Level 4

AEM Forms on OSGI  6.5.4. 


We are tracing where the the following meta tag originate from:

<meta name="viewport" content="user-scalable=no">


/conf/<folder>/settings/wcm/templates/<name> type "cq:Template" with jcr:content "cq:templateType" = "/libs/settings/wcm/template-types/afpage"

under structure/jcr:content we find resourceType : "fd/af/components/page2/aftemplatedpage"


In "fd/af/components/page2/aftemplatedpage"  we see the resourceSuperType "wcm/foundation/components/page" AND object "aftemplatedpage.jsp". The system takes the "aftemplatedpage.jsp" and render the page. 

Inside this page there is a <cq:include script="afpagecontent.html"/>

inside "afpagecontent.html" is the " <meta name="viewport" content="width=device-width, initial-scale=1.0" />"


This is different from what we have generated. So where is our meta tag coming from?

1 Reply


@Eric_Stricker : I will check your query and get back to you.