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 -
Check out new user group experience and if you are a leader please create your group
Did you miss the call?? Check out the Power Apps Community Call here!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.