Is there a way I can block/restrict the users from writing to a sharepoint list from Sharepoint itself? I only want them to do so through my app.
Thank you for your help!
Solved! Go to Solution.
Hi @JackCuba ,
My thought:
1. Customize the form by PowerApps, Apply authentication mechanism to configure your SharePoint list form to be opened in view mode for some of the users.
Set App.OnSelect:
Set(CurrentUser, User())
Set SharePointIntegration.OnNew property:
If(CurrentUser.Email in ["User1@Outlook.com", "User2@Outlook.com"], ViewForm(SharePointForm1),NewForm(SharePointForm1))
Set SharePointIntegration.OnEdit property:
If(CurrentUser.Email in ["User1@Outlook.com", "User2@Outlook.com"], ViewForm(SharePointForm1),EditForm(SharePointForm1))
2. Disable datasheet view, Navigate to the list, Click Settings cog > list settings > advanced settings, Set 'Quick Property Editing' to No
Then user1 and user2 have no permission to write data back to the list in SharePoint site.
Hope this helps.
Sik
Hi @JackCuba ,
My thought:
1. Customize the form by PowerApps, Apply authentication mechanism to configure your SharePoint list form to be opened in view mode for some of the users.
Set App.OnSelect:
Set(CurrentUser, User())
Set SharePointIntegration.OnNew property:
If(CurrentUser.Email in ["User1@Outlook.com", "User2@Outlook.com"], ViewForm(SharePointForm1),NewForm(SharePointForm1))
Set SharePointIntegration.OnEdit property:
If(CurrentUser.Email in ["User1@Outlook.com", "User2@Outlook.com"], ViewForm(SharePointForm1),EditForm(SharePointForm1))
2. Disable datasheet view, Navigate to the list, Click Settings cog > list settings > advanced settings, Set 'Quick Property Editing' to No
Then user1 and user2 have no permission to write data back to the list in SharePoint site.
Hope this helps.
Sik
User | Count |
---|---|
15 | |
10 | |
5 | |
1 | |
1 |
User | Count |
---|---|
16 | |
10 | |
8 | |
3 | |
2 |