How to add a custom button on Siteadmin in AEM 6.5 ? | Adobe Higher Education
Skip to main content
VeenaVikraman
Community Advisor
Community Advisor
December 7, 2020
Répondu

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

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.

 

 

TIA

Veena 

 

Ce sujet a été fermé aux réponses.
Meilleure réponse par shelly-goel

@veenavikraman  Have you tried this? http://aemlab.blogspot.com/2019/07/aem-add-view-button-to-view-pages.html

 

2 commentaires

Level 2
December 7, 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

MayurSatav
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
November 11, 2021

Hi @shaileshb584084 ,

 

I followed this blog for the custom button but as you said we can add our own js. So can you please explain how to add it specifically to our custom button ?

 

Thanks.

Mayur Satav | www.mayursatav.in
shelly-goel
Adobe Employee
shelly-goelAdobe EmployeeRéponse
Adobe Employee
December 8, 2020
VeenaVikraman
Community Advisor
Community Advisor
December 8, 2020
I had tried this. Thanks. I will check this again. I think while doing this I missed something . I will try it again.