I want to hide the delete button based on certain conditions.
I'm trying to use the the new command bar to do this
But while code /powerfx can be attached to custom buttons,
the options to add code/powerfx are greyed out completely for the existing buttons like new edit delete etc in the new command bar customisation. I was hoping to use this new command bar and avoid using ribbon workbench
@Rutu01 - yes but you will still require Ribbon Workbench to load the javascript function into a Custom Rule.
See Scott Darrow's tutorials here:
https://www.youtube.com/watch?v=he690moJnlA
Is it possible to use javascript to hide command bar buttons ?
@Rutu01 -
Although it is possible to modify customs button using Power FX, it is not possible yet to hide out of the box buttons without Ribbon workbench.
image ref: https://develop1.net/public/post/2021/07/25/RibbonWorkbench-vs-PowerFx?trk=public_post_comment-text
stampcoin
17
ankit_singhal
11
Super User 2025 Season 1
mmbr1606
9
Super User 2025 Season 1