Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Convert to experience fragments variation - what you can customize

Avatar

Level 3

I want using the functionality and i want override the the component injected in my site page "cq/experience-fragments/editor/components/experiencefragment" with my custom experience fragments component (inherited from core component).

Is it possible?

 

If not, i evaluate to remove the shortcut functionality by replacing with manual steps:

1) create an experience fragment template variation

2) create the content including a component like the page references (replicating the same data entry)

3) introducing in my site page the custom experience fragment component and apply the reference with point 1

4) delete the component replaced with point 3

... 

 

Thank you in advance for your help.

2 Replies

Avatar

Community Advisor

Hi @davidef34326447,

 

You can overlay the core component in your project and create your custom logic on top of it. Use the below example for your use case: https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-devel...

 

Hope this helps.

 

Thanks,

Kiran Vedantam