I'm currently working on a app which uses data from a spread sheet in my one drive, but I only want certain users to have access to this information within the app. Currently the branch containing the data is password protected, but any users without access to the file within one drive are getting the error pictured below. Is there anyway to disable this error code so all users can use the app without red boxes each time, while still allowing the approved users to access the data needed?
Thanks in advance everyone.
Solved! Go to Solution.
Yes. Leverage any of the Error functions.
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-iferror
You can wrap the request in an IfError() or IsError() function and handle it more gracefully.
Yes. Leverage any of the Error functions.
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-iferror
You can wrap the request in an IfError() or IsError() function and handle it more gracefully.
Thank you GarethPrisk.
I put in IfError(ErrorKind.NotFound, "") and it stopped the errors pictured, but now I'm getting forbidden ones (I tried ErrorKind.Forbidden) is there a ErrorKind I can use to stop these ones too?
I am having a very similar issue. I have one app for multiple users, and each user has a spreadsheet tied to the app that only they can access. So, every time they open the app, they get tons of error messages saying that the app failed to load all the spreadsheets that aren't shared with them. Is there any way to disable these messages? It looks like PowerApps updated the way that errors are handled with the OnError, but I can't figure out how to disable these messages. Thanks!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
User | Count |
---|---|
185 | |
95 | |
62 | |
59 | |
58 |
User | Count |
---|---|
246 | |
164 | |
93 | |
76 | |
70 |