Can I override acs commons component? | Community
Skip to main content
Level 3
May 20, 2021
Solved

Can I override acs commons component?

  • May 20, 2021
  • 3 replies
  • 1088 views

Hi,

 

I want to override one of the acs-commons component eg from {apps/acs-commons/content/component/component-name} to {apps/project-folder/components}

 

This acs-commons component is extending another core component.

 

My questions are

can I override acs-commons component ?

 

 

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 davidjgonzalezzzz

Point to the ACS Commons component using the sling:resourceSuperType property on your cq:Component.

3 replies

Asutosh_Jena_
Community Advisor
Community Advisor
May 20, 2021

Hi @hptarora 

 

Yes you can extend any component. It's exactly same as what we do in core component.

 

Thanks!

Mayank_Gandhi
Adobe Employee
Adobe Employee
May 20, 2021

@hptarora Yes, of course. Like any other component. 

davidjgonzalezzzzAdobe EmployeeAccepted solution
Adobe Employee
May 20, 2021

Point to the ACS Commons component using the sling:resourceSuperType property on your cq:Component.