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

SOLVED

Not able to call client libs from content fragmet in aem cloud

Raushan
Level 2
Level 2

Hi All,

i want to load custom clientlibs in my content fragment page but the js call is not getting called.

 

http://localhost:4502/editor.html/content/dam/test/testcontentfragment  

Raushan_0-1620814063563.png

i am using categories - dam.cfm.authoring.v2

Raushan_0-1620814660948.png

 

Raushan_1-1620815093852.png

 

But still my js is not geting called. 

 

@Arun_Patidar 

 
 
 
 
 

 

1 Accepted Solution
Vijayalakshmi_S
Correct answer by
Community Advisor
Community Advisor

Hi @Raushan,

Please try dam.cfm.authoring.contenteditor.v2. This has the editor.js file which gets called on CF Editor.

Respective clientlibs path is available here - /libs/dam/cfm/admin/clientlibs/v2/authoring/contenteditor

View solution in original post

3 Replies
Shashi_Mulugu
Community Advisor
Community Advisor

@Raushan  Please try with "dam.cfm.authoring.editors.v2",

 

You can simply view the html source the editor page, and see either css/js file with /cfm/ and check the category of the file and use the same.

Raushan
Level 2
Level 2

Hi @Shashi_Mulugu i have tried dam.cfm.authoring.editors.v2 , but this is also not working. when I am checking js file inside libs , it's showing category name dam.cfm.authoring.v2   but with this it's also not working. is my clientlibs folder location is correct.? please find the libs clientlib attachment.

Raushan_0-1620889840149.png

 

Vijayalakshmi_S
Correct answer by
Community Advisor
Community Advisor

Hi @Raushan,

Please try dam.cfm.authoring.contenteditor.v2. This has the editor.js file which gets called on CF Editor.

Respective clientlibs path is available here - /libs/dam/cfm/admin/clientlibs/v2/authoring/contenteditor

View solution in original post