Leiste mit Community-Erfolgen erweitern.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
GELÖST

Unable to add colour picker in AEM 6.5.16

Avatar

Level 9

I am trying to add color picket in AEM 6.5.16. I am following this article http://aemlab.blogspot.com/2019/07/aem-rte-custom-plugins-1.html to setup color picker but I get empty color widget with below error,

 

Mario248_0-1683279176712.png

 

Uncaught ReferenceError: _ is not defined

Mario248_1-1683279599747.png

 

Mario248_2-1683279667145.png

 

 

1 Akzeptierte Lösung

Avatar

Korrekte Antwort von
Community Advisor

Try changing dependency from underscore to lodash.underscore

 

There are discussion about it in the blogs comment section



Arun Patidar

Lösung in ursprünglichem Beitrag anzeigen

5 Antworten

Avatar

Korrekte Antwort von
Community Advisor

Try changing dependency from underscore to lodash.underscore

 

There are discussion about it in the blogs comment section



Arun Patidar

Avatar

Level 9

Thank you Arun. The above issue is resolved with lodash.underscore

Can you please check and provide your input on https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-add-new-style-to-bu...

 

Avatar

Level 1

Hi, 

I also got same error, Can you please tell me where you have changed this 

lodash.underscore.

Avatar

Level 1

Hi Arun, 

where we need to change the dependency from underscore to lodash.underscore.

Avatar

Community Advisor

you need to update this in the color picker clientibs.

e.g./apps/commons/rte/plugins/clientlibs/ 



Arun Patidar