Sling merger/overlay not working | Community
Skip to main content
Level 6
May 31, 2022
Solved

Sling merger/overlay not working

  • May 31, 2022
  • 2 replies
  • 913 views

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?

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by 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 replies

SantoshSai
Community Advisor
SantoshSaiCommunity AdvisorAccepted solution
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