Skip to main content
Level 6
May 31, 2022
Répondu

Sling merger/overlay not working

I have one RTE component which has three stylings I need to add one more 

Below bold -> I need to add one more style("PARAFORM") which is to be utilized in only two components. I donot wants to change the rteplugins for RTE component. 

 

How can we achieve this? Using Sling Merger?

 

Ce sujet a été fermé aux réponses.
Meilleure réponse par SantoshSai

Hi @ronnie09 

You can overlay RTE component placing it under /apps(copy paste component from libs/core and customize it)
OR
If the component already under /apps you may create second version and customize it accordingly.
and add additional style into it, for more details how to do please visit this article https://aem4beginner.blogspot.com/how-to-overlay-component-using-sling 

Also to understand Sling Resource Merger how it works check this out
1. https://experienceleague.adobe.com/docs/experience-manager-64/developing/platform/sling-resource-merger.html?lang=en 
2. http://www.sgaemsolutions.com/2017/09/sling-resource-merger-in-aem-63.html 

Reference: https://experienceleague.adobe.com/docs/experience-manager-64/developing/platform/overlays.html?lang=en

Hope that helps!

Regards,
Santosh

2 commentaires

SantoshSai
Community Advisor
SantoshSaiCommunity AdvisorRéponse
Community Advisor
May 31, 2022

Hi @ronnie09 

You can overlay RTE component placing it under /apps(copy paste component from libs/core and customize it)
OR
If the component already under /apps you may create second version and customize it accordingly.
and add additional style into it, for more details how to do please visit this article https://aem4beginner.blogspot.com/how-to-overlay-component-using-sling 

Also to understand Sling Resource Merger how it works check this out
1. https://experienceleague.adobe.com/docs/experience-manager-64/developing/platform/sling-resource-merger.html?lang=en 
2. http://www.sgaemsolutions.com/2017/09/sling-resource-merger-in-aem-63.html 

Reference: https://experienceleague.adobe.com/docs/experience-manager-64/developing/platform/overlays.html?lang=en

Hope that helps!

Regards,
Santosh

Santosh Sai
Himanshu_Jain
Community Advisor
Community Advisor
May 31, 2022
Himanshu Jain