Forum Discussion
User221455
Sep 26, 2022Copper Contributor
Column formatting
Hi Guys,
Does somebody know how to hide the button approve in the view of sharepoint. I kknow of view formating but i don't know how to do this in Json
User221455 Are you trying to hide the approval button based on permissions or for all users?
You cannot hide options under ellipses (...) using JSON formatting. You can only hide options from command bar at the top.
If you want to hide for all users, turn off approval settings as suggested by NanddeepNachan . You can find this setting at List settings > Versioning settings. Follow documentation for more information: Require approval of items in a list or 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.
- NanddeepNachanLearn Expert
Hi User221455
Can you share the screenshot of button, you want to hide?
- User221455Copper Contributor
This is the button i want to hide. https://www.google.be/url?sa=i&url=https%3A%2F%2Fblog.cosmer.com%2Fhiding-approve-reject-button-in-sharepoint-modern-experience-views%2F&psig=AOvVaw3gpQ6_tVvvKw5GV4NeqqUG&ust=1664276559979000&source=images&cd=vfe&ved=0CAkQjRxqFwoTCLjUvb2nsvoCFQAAAAAdAAAAABAD
https://www.google.be/url?sa=i&url=https%3A%2F%2Fblog.cosmer.com%2Fhiding-approve-reject-button-in-sharepoint-modern-experience-views%2F&psig=AOvVaw3gpQ6_tVvvKw5GV4NeqqUG&ust=1664276559979000&source=images&cd=vfe&ved=0CAkQjRxqFwoTCLjUvb2nsvoCFQAAAAAdAAAAABAD
- NanddeepNachanLearn Expert
Hi User221455
The Approve/Reject appears as part of Require content approval for submitted items setting from your SharePoint document library.
If you set it to NO, the Approve/Reject menu will not appear for anyone.