Hi all,
Thanks in advance.
Solved! Go to Solution.
Views
Replies
Total Likes
You can use the HtmlLibraryManager API to get the path of the JS from the client lib name.
First get the ClientLibrary by passing the category name in the below API method-
And then get the include path of the JS by calling the following API method-
Views
Replies
Total Likes
Can you share your use case.....I mean what you are trying to achieve using JS Path?
Views
Replies
Total Likes
Hi edubey,
Thanks for looking into it.
We need to pass the JS path to resource resolver to get final JS path
resourceResolver.map(request,jsPath)
Views
Replies
Total Likes
If these are your client library then you already know where they exist and there position will not change (unless you forcefully do) and if there are OOTB, their location will never be changed.
If would be great, if you can provide more insight of use case...
Views
Replies
Total Likes
You can use the HtmlLibraryManager API to get the path of the JS from the client lib name.
First get the ClientLibrary by passing the category name in the below API method-
And then get the include path of the JS by calling the following API method-
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies