How to add a custom button on Siteadmin in AEM 6.5 ?

Avatar

Avatar

Veena_Vikram

MVP

Avatar

Veena_Vikram

MVP

Veena_Vikram
MVP

07-12-2020

Hi All

 

    I am trying to add a custom button on the siteadmin. When I select a page , I should be able to see this button and also I would like to restrict this button to a particular path . I tried overlaying /libs/wcm/core/content/siteadmin/actions , but it doesn't seem to be working. Let me know how we can do this.

 

Veena_Vikram_0-1607339774334.png

 

TIA

Veena 

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

shelly-goel

MVP

Avatar

shelly-goel

MVP

shelly-goel
MVP

07-12-2020

Answers (1)

Answers (1)

Avatar

Avatar

shaileshb584084

Avatar

shaileshb584084

shaileshb584084

07-12-2020

For what you can create your own javascript and include the category for that as the once which is being used on the siteadmin console.

 

And within the javascript you can write the custom code for restriction the visibility for this button as per the path.

 

Thanks