Skip to main content
kev_var
Level 2
Oct 16, 2015 2:26 AM UTC
Solved

AEM 6 (touch UI) does not bring client side code

Hi,

I have a AEM application which executes certain JS commands when a page is loaded. This application works well in the previous AEM version 5.5 and 5.6. When I try to run the same in AEM 6.0 i noticed that js files are missing in the UI. Although when I switch back the classic UI I get those files.

I checked the previous posts which mention the clientlibs folder should have the following properties

jcr:primaryType="cq:ClientLibraryFolder"
sling:resourceType="widgets/clientlib"
categories="[cq.widgets]"
dependencies="[cq.jquery.ui]"

 

Any suggestions or input will be of great help.

thanks,

Kevin

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Sham_HC
Sham_HCAccepted solution
Level 10
Oct 16, 2015 2:26 AM UTC

There is no change in clientlib implementation. May be your implementation checking for run mode rather than layers.  Try to find in the implementation what logic triggers loading library & fix there. 

2 replies

kev_var
kev_varAuthor
Level 2
Oct 16, 2015 2:26 AM UTC

Hi Sham,

Do you have supporting documents on how/where AEM decide which files to include. 

I dont know if this sheds some light but i dont have the issue when I load a mobile version of the demo pages. eg

http://localhost:4502/editor.html/content/geometrixx-outdoors-mobile/en/equipment/biking.touch.html

 

thank you

Translate
Sham_HC
Sham_HCAccepted solution
Level 10
Oct 16, 2015 2:26 AM UTC

There is no change in clientlib implementation. May be your implementation checking for run mode rather than layers.  Try to find in the implementation what logic triggers loading library & fix there. 

Translate