Forum Discussion
MarcoMangianteIM
Feb 28, 2022Copper Contributor
SPO custom action to hide delete button
Hello, I need, in a list, when select an item, to hide in the ribbon the delete button (at least); I've seen that maybe this is possible with a custom action and find powershell code to implement...
ganeshsanap
Feb 28, 2022MVP
MarcoMangianteIM If you want to remove the delete button, you can also create a custom permission level (like Contribute without delete) and grant limited permissions to users.
Is there any other scenario/requirement where user need higher permissions on the same list/library?
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
MarcoMangianteIM
Feb 28, 2022Copper Contributor
Helllo ganeshsanap
thanks for your reply; I tried it but I have a drawback: in my list I created a custom column that host a link to a flow that cancel that particular row; now, if I set the permission like you suggested, when I click on the link the flow doesn't start..but it not only doesn't start, I haven't the form that appears on the right side of the list that let me run it.
--
Regards