Hide delete menu on attachment gallery on record list on certain stages

Hello Community,

is there a way to hide the delete menu, or even better hide the kebab menu icon off an attachment gallery on record pages BUT only on certain (1) stage only. 
I am also looking into the option of throwing alert when the user is on stages on which they are not allowed to delete.
Guidance will be greatly appreciated!

 Delete button on attachment gallery on record page

Like 1

Like

1 comments

It's been a few versions since I tried this, but I believe the FileList, even in gallery mode, supports the rowToolbarItems like a normal List does. 

Modify the menu items: https://customerfx.com/article/adding-row-action-menu-items-to-a-creati…

Remove the row menu completely: https://customerfx.com/article/removing-the-row-toolbar-from-a-creatio-…

Ryan

Show all comments