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
BedrockMission!

Learn More

View all

Sign in to view all badges

Replies

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,279 likes

Total Posts

3,153 posts

Correct Reply

889 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,279 likes

Total Posts

3,153 posts

Correct Reply

889 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

09-09-2019

Hi,

It does work if clienlibs properties are set properly

In order for the client libraries under /apps to be accessible, a proxy servelt is used. The ACLs are still enforced on the client library folder, but the servlet allows for the content to be read via /etc.clientlibs/ if the allowProxy property is set to true.

can you share clientlibs properties?

Avatar

Avatar
Give back 300
MVP
Gaurav-Behl
MVP

Likes

243 likes

Total Posts

1,145 posts

Correct Reply

281 solutions
Top badges earned
Give back 300
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Give back 300
MVP
Gaurav-Behl
MVP

Likes

243 likes

Total Posts

1,145 posts

Correct Reply

281 solutions
Top badges earned
Give back 300
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
Gaurav-Behl
MVP

09-09-2019

If the issue to access permissions on publish server then check Andrew's response here: Not able to access etc.clientlibs on publish environment

Avatar

Avatar
Boost 1
Level 2
shwethar9638050
Level 2

Likes

2 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 2
shwethar9638050
Level 2

Likes

2 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
shwethar9638050
Level 2

09-09-2019

The issue is not only in publish/dispatcher even in local or dev or stage author/publish same issue exist

Avatar

Avatar
Boost 1
Level 2
shwethar9638050
Level 2

Likes

2 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 2
shwethar9638050
Level 2

Likes

2 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
shwethar9638050
Level 2

09-09-2019

@Arun Patidar

please find the screenshot of clientlibs properties

1830458_pastedImage_0.png

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,279 likes

Total Posts

3,153 posts

Correct Reply

889 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,279 likes

Total Posts

3,153 posts

Correct Reply

889 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

10-09-2019

It looks ok for config side.

can you try to add using

<sly data-sly-use.clientlib="/libs/granite/sightly/templates/clientlib.html"

    data-sly-call="${clientlib.all @ categories='falcon.base.nwd'}"/>

If it works, you can check the included js path and trying adding using script tag.

<script type="text/javascript" src="/etc.clientlibs/initialyzer/clientlibs/initialyzer/clientlib-base/js/example.js"> </script>

You can open a daycare ticket if it doesn't resolve.

Avatar

Avatar
Validate 10
Level 3
Premkarthic-7WP
Level 3

Likes

8 likes

Total Posts

60 posts

Correct Reply

7 solutions
Top badges earned
Validate 10
Validate 1
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Validate 10
Level 3
Premkarthic-7WP
Level 3

Likes

8 likes

Total Posts

60 posts

Correct Reply

7 solutions
Top badges earned
Validate 10
Validate 1
Give Back 5
Give Back 3
Give Back
View profile
Premkarthic-7WP
Level 3

10-09-2019

Hi,

As per my understanding, you want to access the js files directly and not via client library include, if I am correct, then you can try creating a folder  with the name "js" under resources  of your required clinetlibray folder and you can access as like below. Its worked for me.

http://localhost:4502/etc.clientlibs/weretail/clientlibs/clientlib-site/resources/js/script.js

1830675_pastedImage_0.png

Proxy servlet resolves the direct files, if it is present under clientlibray folder (with allowproxy=true) -> resources -> (folder with any name) ->File.

Hope this helps.

Update : In order to avoid the duplicate copy of the file between client library and resource folder, in the js.txt you can change the js base reference as below.

1830694_pastedImage_1.png