Could you please share a bit more about the issue within your app?
I have made a test on my side, and don't have the issue that you mentioned. Based on the error message that you mentioned, it seems to tell that there is something wrong with the data source your Edit form connected to.
Please check if you have specified proper data source within the DataSource property of the Edit form control.
In addition, I think there may have something issue with the formula you provided within the Item property of the Edit form. Please modify the formula within the Item property of the Edit form to following:
Gallery1.Selected /* <-- Gallery1 represents the Gallery control the Edit form relates/links to */
Note: If you don't set a default value for any field in your data source, the Defaults(datasource) formula would return a empty record.
More details about Defaults function in PowerApps, please check the following article:
The Item property for the edit forms that link to galleries are set up as you describe.
So my problem is that the only way I can run the app is to open it in edit mode and preview it. If I try to just open the app normally I get the error messages I describe.
Here is the set up for the app - It's a tool used to add employees to project numbers so that they can log time appropriately. The only data sources linked to are -
The app's make up breaks down like this -
Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.
Fill out a quick form to claim your user group badge now!
Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities
Features releasing from October 2019 through March 2020
Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.
Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications