I am relatively new to PowerApps so I might overlook something trivial.
I have create an app using one Excel datasource in OneDrive business.
In the App on start, I inserted this basic piece of code and switch the controller to use the CollectSchedule collection.
If( Connection.Connected, ClearCollect( CollectSchedule, Schedule); SaveData( CollectSchedule, "LocalSchedule"), LoadData( CollectSchedule, "LocalSchedule", true) );
When running the app with the phone in airplane mode, the apps is able to retrieve most of the data from the cache (except the images stored as path). However an error message will display on top of the screen.
Failed to load Schedule. An error occured on the server. Server response: Not a valid connector Errorresponse.
1. Why does Powerapps try to reach out for the data source although the code logic should redirect it to the local cache.
2. Is there anyway to prevent this behaviour and block this error message? I saw on the forum a thread mentionning the Notify function but I cant see to which event the error message is linked.
Thanks for your help.
Hi @maikeru ,
How often does this error show in your mobile? Is this issue only happening on this mobile? Please try with other ones and web browsers to test.
Thank you for your assistance @v-monli-msft .
I have tested this on 2 different mobile. 1 running iOS and another one running Android.
The result is the same. It happens each time i restart the app after enabling airplane mode to test offline capabilites.
@maikeru Were you able to find a solution for this? I am hitting exact same problem. If I choose a different datasource like a database instead of Excel, it works fine but I need to do it with Excel..
Check it out!
Check it out!
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
The largest Power BI, Power Platform, and Data conference in New Zealand