How to Hide View option in modern SharePoint list webpart?

Sangani, Apoorva 40 Reputation points
2023-07-25T13:31:00.2266667+00:00

Hello Everyone,

My manager wants to restrict users from changing views in SharePoint modern list web part. I want to hide just the views not the New button because users will enter fields based on their work. Please suggest

Microsoft 365 and Office SharePoint For business Windows
{count} votes

Accepted answer
  1. Zehui Yao_MSFT 5,876 Reputation points
    2023-07-26T08:10:42.47+00:00

    Hi Sangani, Apoorva, it is a pleasure to be able to help you : )

    Based on my understanding of the issue, we tested locally.

    Per our research, currently it is not able to only hide the option of changing the view. Because when the user has permission to edit views, they can switch views. 

    And if you want to hide all view option like below, you can custom a Permission Level that could edit list but couldn't edit and create views. Then grant the Permission Level to a new group, users in the group will then be able to edit lists in site, but not able to create and edit list views. 

    image (10)

    You can refer to the below steps to custom a Permission Level and grant it to a group.

    1.Go to Setting > Site Permission > Advanced permissions settings

    image (9)

    image (8)

    2.Create Permission Levels. Click Permission Levels and click Edit permission level.

    image (7)

    image (6)

    Click Copy Permission Level at the end of the page.

    image (5)

    Uncheck Manage Lists in List Permissions and all items in Personal Permissions, then create it.

    image (4)

    image (3)

    3.Click Create Group and check the permission level created before.

    image (2)

    image (1)

    4.Click the group created before and add users to this group.

    image

    Hope this helps.

    Best Regards.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Lokesh M 0 Reputation points
    2024-02-06T08:30:29.8033333+00:00

    i am unable to edit the view, but i can see the view, is it possible to remove that also?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.