Extending/Overlaying a Content Fragment Component into your custom component in AEM 6.4 | Community
Skip to main content
Level 2
March 26, 2019
Solved

Extending/Overlaying a Content Fragment Component into your custom component in AEM 6.4

  • March 26, 2019
  • 4 replies
  • 3199 views

Hello Everyone,

Is it possible to extend or overlay the content fragment component in AEM 6.4, inside a custom project? I have tried both extending and overlaying the content fragment component from core but the dialogs in touch-ui do not seem to work.

I noticed that the structure of the cq:dialog for the content fragment component in core is also a bit different too.

There is granite:data node inside the structure which has the above properties. To my understanding I guess these are related to Coral UI 3, but still i'm not very sure.

Can you please provide your insights on this.

Thanks and Regards,

Bernadine Soman

Jörg HohFeike VisserVeena_07smacdonald2008

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 arunpatidar

Yes, you can extend the cf for your own project, you can take example of we-retail cf component.

you may need to create a dialog structure, it can be either of type coral2 or coral3.

4 replies

arunpatidar
Community Advisor
Community Advisor
March 26, 2019

yes, these are related to coral3, data:granite node is used to create data attribute in DOM.

e.g.

data-field-path

in coral2 this properties are added directly to elementNames node.

Arun Patidar
berni7473Author
Level 2
March 27, 2019

So is it possible to extend the Content Fragment component inside my custom project? Since the dialog structure creates data attributes rather in separate nodes?

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
March 27, 2019

Yes, you can extend the cf for your own project, you can take example of we-retail cf component.

you may need to create a dialog structure, it can be either of type coral2 or coral3.

Arun Patidar
berni7473Author
Level 2
April 1, 2019

Thank you Arun for your response. I checked and created my custom cf component.