Skip to main content
Became Hot Network Question
added 5 characters in body; edited tags
Source Link
Ganesh Sanap - MVP
  • 47.4k
  • 22
  • 32
  • 64

I've been able to easily hide any toolbar button by using "Format current view" and adding the JSON.

{ "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/row-formatting.schema.json", "commandBarProps": { "commands": [ { "key": "download", "hide": true }, { "key": "copyLink", "hide": true } ] } }

{ "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/row-formatting.schema.json", "commandBarProps": { "commands": [ { "key": "download", "hide": true }, { "key": "copyLink", "hide": true } ] } } 

But how do I edit the Item context action menu  ? I would also like to know if it is possible to hide the whole menu.

Context action menu

Also, I currently don't have SharePoint Designer, but I could get it if needed. I've seen some info around for SPFx, but I have never done anything in SPFx. A need a simple solution if there is one, lol. Also, on my wish list is getting rid of the Share button.

Thanks in advance!

I've been able to easily hide any toolbar button by using "Format current view" and adding the JSON.

{ "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/row-formatting.schema.json", "commandBarProps": { "commands": [ { "key": "download", "hide": true }, { "key": "copyLink", "hide": true } ] } }

But how do I edit the Item context action menu  ? I would also like to know if it is possible to hide the whole menu.

Context action menu

Also, I currently don't have SharePoint Designer, but I could get it if needed. I've seen some info around for SPFx, but I have never done anything in SPFx. A need a simple solution if there is one, lol. Also, on my wish list is getting rid of the Share button.

Thanks in advance!

I've been able to easily hide any toolbar button by using "Format current view" and adding the JSON.

{ "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/row-formatting.schema.json", "commandBarProps": { "commands": [ { "key": "download", "hide": true }, { "key": "copyLink", "hide": true } ] } } 

But how do I edit the Item context action menu? I would also like to know if it is possible to hide the whole menu.

Context action menu

Also, I currently don't have SharePoint Designer, but I could get it if needed. I've seen some info around for SPFx, but I have never done anything in SPFx. A need a simple solution if there is one, lol. Also, on my wish list is getting rid of the Share button.

Thanks in advance!

Source Link

How to hide buttons on the item context menu in SharePoint 365 Modern Experience

I've been able to easily hide any toolbar button by using "Format current view" and adding the JSON.

{ "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/row-formatting.schema.json", "commandBarProps": { "commands": [ { "key": "download", "hide": true }, { "key": "copyLink", "hide": true } ] } }

But how do I edit the Item context action menu ? I would also like to know if it is possible to hide the whole menu.

Context action menu

Also, I currently don't have SharePoint Designer, but I could get it if needed. I've seen some info around for SPFx, but I have never done anything in SPFx. A need a simple solution if there is one, lol. Also, on my wish list is getting rid of the Share button.

Thanks in advance!