View formatting

New Contributor

Hi guys,

 

Can someone help me to format a view in a library. I want to hide the button "Submit for approval" but i don't know how to do is in Json.

2 Replies

Hello @Ainzo92

 

maybe you can try command bar customizations:

https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/view-commandbar-formatting

 

Regards, Dave 

@Ainzo92 Can you add a screenshot & show us where do you see the "Submit for approval" button? In command bar or under ellipses (...) against document in library?

 

I don't see any related "key" for this option in command bar view formatting. If this option is under ellipses, there is no SharePoint OOTB option to hide it (except disabling content approval from Library settings > Advanced settings).


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.