Once you are using SharePoint lists as a back-ends of your Power App, you should assign correct access levels to user groups and hide SharePoint List from Site Content and Search. To achieve that, apply this simple, manually triggered flow:
Site Address – choose your SharePoint site
Method: POST
Url: /_api/web/lists/getByTitle(‘yourlistname’)
Headers:
{
"X-HTTP-Method": "MERGE",
"Accept": "application/json;odata=verbose",
"Content-Type": "application/json;odata=verbose",
"IF-MATCH": "*",
"": ""
}
Body:
{'__metadata':
{'type':'SP.List'},
'Hidden':true,
'NoCrawl':true
}
That’s it. SharePoint list now is hidden. What is important to notice, all existing flows now are still running and assigned correctly to this list.
Leave a comment