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

SOLVED

cqinclude xtype component not rendering in Publish Instance

Saran_K
Level 2
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
smacdonald2008
Correct answer by
Level 10
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
smacdonald2008
Level 10
Level 10

Are you seeing any errors in the log file? 

Saran_K
Level 2
Level 2

No Scott. Nothing specific to this component or homepage

smacdonald2008
Correct answer by
Level 10
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

Saran_K
Level 2
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. 🙂