Expand my Community achievements bar.

SOLVED

Accordion Component Heading Elements values list in Dialog

Avatar

Level 5

Hi All,

 

Accordion component dialog box, Heading elements attribute h2-h6 are shown in dropdown of-> Properties tab. The datasource of it is "core/wcm/components/commons/datasources/allowedheadingelements/v1" but couldn't find this path to add values in dropdown to customize it.

Could anyone let know how these values are rendered and what can be done to customize values .

rsl_lucky_0-1644240307621.jpeg

 

 

Thanks in Advance.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@rsl_lucky 

It is a Servlet registered with that resourceTypecore/wcm/components/commons/datasources/allowedheadingelements/v1 and is internal to Core components

Given this, Customization in this case would be to override the dialog and write custom Datasource logic.

 

Source code of the servlet :https://github.com/adobe/aem-core-wcm-components/blob/474dce1aaea7dc508b747805fc429838bb058f31/bundl...

 

 

 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

@rsl_lucky 

It is a Servlet registered with that resourceTypecore/wcm/components/commons/datasources/allowedheadingelements/v1 and is internal to Core components

Given this, Customization in this case would be to override the dialog and write custom Datasource logic.

 

Source code of the servlet :https://github.com/adobe/aem-core-wcm-components/blob/474dce1aaea7dc508b747805fc429838bb058f31/bundl...

 

 

 

Avatar

Level 5

Thanks, Vijayalakshmi_S

Let me try to customize & would revert back incase if anything.