Another approach is to create a custom menu action. This way it will show up when you right click a node and in the actions dropdown on the top left.
On bonus for this is you can apply security rights to it. So only editors with a specific group can do this.
Add button to content edit page
Hi,
I want to add a new custom button to Umbraco default edit page.
Is there any way to do that or any example.
I'm using Umbraco 7.12.3
Thank you
Hi Saidi,
One option would be to create a custom property editor for this.
https://our.umbraco.com/documentation/Tutorials/Creating-a-Property-Editor/
And you probably want to have a look at the umb-button directive : https://our.umbraco.com/apidocs/ui/#/api/umbraco.directives.directive:umbButton
Another approach is to create a custom menu action. This way it will show up when you right click a node and in the actions dropdown on the top left. On bonus for this is you can apply security rights to it. So only editors with a specific group can do this.
This will show you how to just add an menu action (without rights) : https://github.com/kgiszewski/LearnUmbraco7/blob/master/Chapter%2016%20-%20Custom%20Sections%2C%20Trees%20and%20Actions/03%20-%20Custom%20Tree%20Menu%20Actions.md
If you want to add rights to it you need to implement your own IAction based class. https://github.com/kgiszewski/LearnUmbraco7/blob/master/Chapter%2016%20-%20Custom%20Sections%2C%20Trees%20and%20Actions/04%20-%20Custom%20IAction.md
Dave
is working on a reply...