New answers tagged

3

When working with SPE you can use the rules fields (Show/Enable) to manage the state of the buttons. I use these at work all the time and work reliably. As you can see in the following figure, the Elevated Unlock feature included with SPE makes use of the rules fields. The documentation in the SPE book outlines in which scenarios the Show Rule and Enable ...


1

For "normal" buttons not calling SPE script, this is straight forward. In your definition of click event, you hook command. For example for Display Name button, Click command is item:setdisplayname and it's defined like this: <command name="item:setdisplayname" type="Sitecore.Shell.Framework.Commands.SetDisplayName,Sitecore....


Top 50 recent answers are included