1 Reply Latest reply on Apr 24, 2013 8:41 AM by Yogesh Upadhyay

    Clientlib JS is not included

    michaelvino86 Level 1

      I'm working CQ5.4. Currently I'm trying to include css and js files through cq:includeClientLibrary. Css files are included fine but  js files not included. Please help me.

      I am using Jquery in my page. should i add the dependencies?  

        • 1. Re: Clientlib JS is not included
          Yogesh Upadhyay Level 4

          How are you including them ? Below include both css and js


          <cq:includeClientLib categories="<your client lib name>"/>


          If jquery is not already included before your clientlib is loaded, then you have to include jQuery as dependencies. But in case of missing dependencies you will get js error.



          1 person found this helpful