Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

Veena_Vikram
Community Advisor
Community Advisor

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 

 

1 Accepted Solution
shelly-goel
Correct answer by
Community Advisor
Community Advisor
6 Replies
shaileshb584084
Level 3
Level 3

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

shelly-goel
Correct answer by
Community Advisor
Community Advisor
Veena_Vikram
Community Advisor
Community Advisor
I had tried this. Thanks. I will check this again. I think while doing this I missed something . I will try it again.
Veena_Vikram
Community Advisor
Community Advisor
Thanks @Arun_Patidar that worked. But I am trying to get the button restricted to a particular path now.
Veena_Vikram
Community Advisor
Community Advisor
I am wondering when we navigate to other pages in another content tree, the button is still hidden unless we refresh the page. have any idea to get around ?