Clientlibs Overlay in 6.5 and proxy

Avatar

Avatar
Validate 25
Level 4
NitroHazeDev
Level 4

Likes

57 likes

Total Posts

238 posts

Correct reply

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

Avatar
Validate 25
Level 4
NitroHazeDev
Level 4

Likes

57 likes

Total Posts

238 posts

Correct reply

5 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give Back 5
Give Back 3
View profile
NitroHazeDev
Level 4

16-07-2021

Hello,

 

Managed to overlay the code from libs /libs/wcm/msm/content/touch-ui/authoring/commons/js/msmTouchUICommons.js to /apps/wcm/msm/content/touch-ui/authoring/commons/js/msmTouchUICommons.js.
I have provided allowproxy at the clientlib folder "commons" and have categories set same as in libs. 

I have no js.txt here under apps structure  to avoid the js load twice from etc and libs

 

on the network tab, i see that the custom code comes up in libs instead of etc.clientlibs with my changes .Is there something that i am missing?

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar
Validate 25
Level 4
NitroHazeDev
Level 4

Likes

57 likes

Total Posts

238 posts

Correct reply

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

Avatar
Validate 25
Level 4
NitroHazeDev
Level 4

Likes

57 likes

Total Posts

238 posts

Correct reply

5 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give Back 5
Give Back 3
View profile
NitroHazeDev
Level 4

18-07-2021

Hello,

 

This does not help answer my question and hence raising it again

 

Overlaying with same structure under apps and giving a proxy property loads the JS under libs or under etc.clientlibs?  What i see is that the overridden changes under apps is loaded via etc.clientlibs( due to proxy property)

Avatar

Avatar
Applaud 50
Level 5
diksha_mishra
Level 5

Likes

79 likes

Total Posts

93 posts

Correct reply

39 solutions
Top badges earned
Applaud 50
Applaud 25
Give Back 5
Boost 50
Affirm 25
View profile

Avatar
Applaud 50
Level 5
diksha_mishra
Level 5

Likes

79 likes

Total Posts

93 posts

Correct reply

39 solutions
Top badges earned
Applaud 50
Applaud 25
Give Back 5
Boost 50
Affirm 25
View profile
diksha_mishra
Level 5

16-07-2021