Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

cqinclude xtype component not rendering in Publish Instance

Avatar

Level 2

Hi,

We are having a toolbox configuration component under /apps/myproject/configuration/toolbox for authoring some global values under /content/appconfig/headerconfig/jcr:content/toolbox for using across our webpages.

The same component has been included in our homepage template in header.jsp by custom taglibs <customtag:include path="Toolbox" resourceType="myproject/navigation/toolbox" noPublishDecoration="true"/>

The dialog of this component (myproject/navigation/toolbox) has xtype : cqinclude and path : /apps/myproject/configuration/toolbox/dialog.infinity.json

The idea behind this is, the toolbox configuration authoring can be performed via headerconfig page (/content/appconfig/headerconfig/jcr:content/toolbox) or via homepage.

In our authoring instance, the toolbox configuration component is rendering fine in homepage. But in Publish instance this component is not rendering.

Note: I tried to debug in publish instance by appending ?debug=layout (http://localhost:4503/myproject/home.html?debug=layout) then i can able to see the component rendering fine. So, i appended the queryparameter in publish url (http://localhost:4503/myproject/home.html?1=1) then that component is rendering fine without any issues. Also, in the header.jsp some other custom taglibs has been used for inlcuding logo, navigation,.. all are working fine. So, i could tell there is no issue with the custom taglibs.

**This behaviour is occuring only in our Dev Publish instance. PROD Publish is working fine.

Please help on this, Thanks.

1 Accepted Solution

Avatar

Correct answer by
Level 10

. But in Publish instance this component is not rendering

Can you please trying deploying this to a Fresh AEM Instance on pub - lets rule out something in your environment interfering with it. 

Let us know if it works on Fresh CQ PUB instance. 

View solution in original post

4 Replies

Avatar

Level 10

Are you seeing any errors in the log file? 

Avatar

Level 2

No Scott. Nothing specific to this component or homepage

Avatar

Correct answer by
Level 10

. But in Publish instance this component is not rendering

Can you please trying deploying this to a Fresh AEM Instance on pub - lets rule out something in your environment interfering with it. 

Let us know if it works on Fresh CQ PUB instance. 

Avatar

Level 2

Yes Scott. Tried deploying our project in my local Publish Instance and it loads fine without any issues. Thanks a lot for the guidance. :)