Hi,
I have a custom button for which i want to display it only on certain stages of BPF. Any suggestions?
*This post is locked for comments
Hi,
I have a custom button for which i want to display it only on certain stages of BPF. Any suggestions?
*This post is locked for comments
This might work:
1. Create a customrule in Ribbon Workbench (it would be one of the "enable rules"):
https://msdn.microsoft.com/en-us/library/gg309433.aspx
http://www.develop1.net/public/rwb/ribbonworkbench.aspx
2. Use process methods to determine the stage and to return true/false (to enable/disable that button.. it'll be hidden if it's disabled):
https://msdn.microsoft.com/en-us/library/dn817878.aspx
3. Add a handler for onStageChange (or onStageSelected):
https://msdn.microsoft.com/en-us/library/dn817878.aspx#BKMK_EventHandlerManagement
4. And a call to refreshRibbon in that method:
https://msdn.microsoft.com/en-us/library/gg327828.aspx#BKMK_refreshRibbon
André Arnaud de Cal...
292,516
Super User 2025 Season 1
Martin Dráb
231,432
Most Valuable Professional
nmaenpaa
101,156