Not able to access etc.clientlibs on publish environment

Avatar

Avatar

snehag07

Avatar

snehag07

snehag07

15-11-2017

I am trying to use cq.jquery clientlib which has dependency granite.jquery

used syntax:

<cq:includeClientLib categories="cq.jquery"/>

It should resolve in

<script type="text/javascript" src="/etc.clientlibs/clientlibs/granite/jquery.js"></script>

<script type="text/javascript" src="/etc.clientlibs/clientlibs/granite/utils.js"></script>

<script type="text/javascript" src="/etc.clientlibs/clientlibs/granite/jquery/granite.js"></script>

<script type="text/javascript" src="/etc/clientlibs/foundation/jquery.js"></script>

It is working fine on author env.

But on publish env only <script type="text/javascript" src="/etc/clientlibs/foundation/jquery.js"></script> is loading

I tried adding filter is dispatcher, but it is not working.

Can anyone suggest?

View Entire Topic

Avatar

Avatar

poojac35931336

Avatar

poojac35931336

poojac35931336

15-11-2017

Can you check once if other nodes are present in your publish environment?

You can also validate it using http://localhost:4503/libs/granite/ui/content/dumplibs.validate.html and see if any dependency is not present.

You can also check the sample output of this using http://localhost:4503/libs/granite/ui/content/dumplibs.test.html?categories=cq.jquery