limit a user to see specific view of a SharePoint list
-
08-02-2021 - |
質問
How can I grant permission to a user to only see a specific view of a SharePoint list and not "All Items", I cannot find any related settings in "Permissions for this list".
This solution here View for individual user groups seems exactly what I need.
I am not sure why I can not see Mohs Sich in the list of the target audience, I have tested all the three options: Please note this user is an external user.
解決
Currently there is No way to use target Audience in SharePoint Modern List view.
Workaround:
- Go to your SharePoint list.
- Click on Return to classic SharePoint (You can find it below left side navigation - bottom left corner of the page).
- Click on Settings (Gear icon) --> Edit page.
- Then Edit Web Part.
- In web part properties panel, expand Advanced section, it is on the most right corner of the page next to the list (you may need to scroll horizontally, as shown below).
- Inside Target Audiences add your administrators group (admini_folder).
- Click OK.
- Click on PAGE from top ribbon --> Select Stop Editing.
- Click on Exit classic experience (You can find it below left side navigation - bottom left corner of the page).
This only works for groups, so you need to add your user to a group.
- Check Target web parts to an audience at: How does Audience Targeting in a List / Document Library work?
- Check Web Parts topic on Page 4 at: Audience Targeting in SharePoint.
他のヒント
In addition to Ganesh answer (Which I really appreciate that), I also found another way to automate this in Power Automate (MS Flow) as mentioned in this post (Thanks to Chelsea and Rohit):
Is there a way to stop editing an item when the approval status is pending in SP online list?