Is is possible to create a new type of super-component for the SPA Editor? | Community
Skip to main content
Gomidefabio-1nC
July 8, 2020
Solved

Is is possible to create a new type of super-component for the SPA Editor?

  • July 8, 2020
  • 2 replies
  • 1095 views

Is it possible to create a Super-component (like a new type of core-component)... so I don't need to map my Angular-custom-component to an existing AEM Core Component... but instead map it to a new super-component that I create?

 

The reason for the question is that if I map my angular-custom-component to a pre-existing aem-core-component, the system overwrites that aem-component inside the SPA Editor... which is something I don't want. Also, I want to be able to configure the modal window that opens when we need to edit the custom component. If I map to a pre-existing core-component, like the text component, for example, the edit-dialog will have the properties for that text component. But if I am able to create my own super-component, I would probably be able to edit the dialog-window that will show when I edit that custom-component inside the SPA editor.

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 Varun_Shakya

M not experts in this topic(AEM SPA integration) but what I understood from your problem is you do not want to  use of OOTB core components as you are not able to make changes in dialog. 

In this case I would say you can create new components  by extending  the AEM core components and that would allow you  to create your own dialog and make other changes.

https://helpx.adobe.com/experience-manager/using/extend_jave_corecomponents.html

2 replies

Varun_Shakya
Community Advisor
Varun_ShakyaCommunity AdvisorAccepted solution
Community Advisor
July 8, 2020

M not experts in this topic(AEM SPA integration) but what I understood from your problem is you do not want to  use of OOTB core components as you are not able to make changes in dialog. 

In this case I would say you can create new components  by extending  the AEM core components and that would allow you  to create your own dialog and make other changes.

https://helpx.adobe.com/experience-manager/using/extend_jave_corecomponents.html

Gomidefabio-1nC
July 13, 2020

Yeah, that page talks about it, for sure. Thank you! 😃 It, however, explores a multi-step Java solution, which seems very time-consuming and doesn't really answer some of the core issues. I will have a meeting this week with an Adobe team specialized on the SPA-Editor and will post the best solution as a comment here as soon as I get the answer.

kautuk_sahni
Community Manager
Community Manager
July 14, 2020
@gomidefabio-1nc thank you. Plase do post it here for posterity.
Kautuk Sahni