Forum Discussion

ShwetaMache's avatar
ShwetaMache
Copper Contributor
May 11, 2025

Want to hide options like delete when some record is selected in list.

Hi,

 

I am getting delete and edit option in SharePoint online when I select some record from the list.

I want to hide the Edit and delete both options and also want export option should visible there. Is there any way to do the same.

 

 

Thanks in advance!

1 Reply

  • Bradleyly's avatar
    Bradleyly
    Iron Contributor

    After entering the list, create a custom permission level by going to Settings > List Settings > Permissions and uncheck Delete Items, or administrators can force it to be hidden by using PowerShell, i.e. by using the command Set-SPList -Identity List URL -UserResourcePermissions DeleteListItems -Deny DeleteListItems -Deny