In this Power Apps Tutorial, I have explained how to fix Power Apps getting your data issue.
Power Apps getting your data issue comes while I was submitting an item to a SharePoint list, the data was saved successfully to the SharePoint list but while I return to that screen for inserting new data, instead of form it was showing me an error message on the form ‘Getting your data…‘.
Getting your data error Power Apps
Recently, I was working on a Power Apps app that was saving data to a SharePoint Online list from the app. For this, I have prepared an app having 3 screens.
- Welcome Screen – The Welcome screen or dashboard of the app.
- Main Screen – This screen contains the form where the user will insert data.
- Success Screen– Once the form is submitted the user got a success message via this screen.
Initially, I submitted the data to the SharePoint list without any error, but when next time I was trying to save the data to the SharePoint list from the Power Apps app, it was showing the error “Getting your data” and the form disappeared.
You can see below I have a Guest Registration form and when a user was submitting the form the error was showing like below:
Let us see now how to fix Power Apps stuck on getting your data issue.
Solution Power Apps getting your data
Here I have created a simple Power Apps canvas app that was saving the data to a SharePoint list name as ‘Guest Registration Form’. If you are new to Power Apps, you can check out, Create a canvas app in PowerApps from a SharePoint list on how to create a Power Apps app.
Just to let you know that here I was using one form (Edit form) for both submitting data and Editing the data.
Here on the button OnSelect, I have written the below formula to save the data to the SharePoint list.
OnSelect = SubmitForm(Form1);
Here Form1 is the name of Power Apps Edit form.
When the user submits the data via the submit button, the form is submitted as well as data got stored in the SharePoint list. But once the data was submitted, instead of a new form, the form got disappear and show an error message.
Refer to the below solutions that how we can overcome it.
Solution-1: PowerApps getting your data issue
On the welcome screen, we can use a ‘Newform’ function. Each time, when the user navigates to the main screen from the welcome screen, it will display a new form where the user can insert the data and submit it to the SharePoint list.
To do this, the following solutions are:
- Go to the Welcome Screen.
- Select the Next icon.
- On the OnSelect property of the icon, set the below functions:
OnSelect = Navigate('Main Screen'); NewForm('Form1')
Solution-2: Power Apps Getting your data error
There is another solution, to overcome this issue. We can add a ‘Newform‘ function in the button control (i.e. submit button).
Previously, we have used only one function i.e. SubmitForm() to submit the data to the SharePoint list. But, now we will use the below function on the OnSelect property of the button control.
OnSelect = SubmitForm(Form1); NewForm(Form1)
Here, once the data got submitted to the SharePoint list, instead of an error message it will show a new form for another insertion on the app screen.
Also, on the Form1’s OnSuccess property set the below function:
OnSuccess = Navigate('Success Screen');
It will navigate to the success screen once the form is successfully submitted.
The success screen will appear like this:
Solution-3: Reset the Power Apps Edit Form
There is another easiest solution to getting rid of the error message on your Power Apps app i.e. reset the Power Apps Edit form.
If the user inserts incorrect data, and we want to reset the form before submitting it to the data source, then we can follow this solution.
Here we have used a Reload icon from the icons(under the Insert tab) on the main screen. Go to the Insert tab > Icons > Reload. Place it on the label of the main screen.
On the OnSelect property of this icon, with the below function:
OnSelect = ResetForm(Form1);
Solution-4: Getting your data in Power Apps
There is another easiest solution to overcome this error message when working a canvas app on Power Apps. The following steps are:
- On the main screen(where the form is placed), set the below formula on the ‘OnVisible‘ property.
OnVisible = NewForm(Form1);
Here, Form1 is the edit form name. It will display a new form in each time when the main screen will open.
- Also, in the submit button add the below formula on the ‘OnSelect‘ property to submit the data to the SharePoint list.
These are the different types of solutions that we can use to overcome this Power Apps getting your data issue.
Power Apps change the “getting your data” message
Power Apps does not allow the user to change the ‘getting your data’ message. It is a built-in message by Power Apps, so we can’t change this. But yes we can overcome from this error message by using the above solutions.
Also, you may like the below Power Apps Tutorials:
- Power Apps in SharePoint
- Power Apps Radio Button
- Power Apps Data Table
- Power Apps SharePoint Button
- Microsoft Power Apps tutorial for beginners – Build an app in Power Apps
- Power Apps Navigate Function + 16 Examples
- Power Apps WeekNum and ISOWeekNum Function with Examples
- PowerApps form benefits for SharePoint
- PowerApps tips and tricks
From this Power Apps tutorial, we have learned the below topics:
- How to handle the canvas app that got stuck with an error message?
- How to overcome the ‘Getting your data’ on Power Apps?
- Is it possible to change the ‘Getting your data’ message on Power Apps?
After working for more than 15 years in Microsoft technologies like SharePoint, Office 365, and Power Platform (Power Apps, Power Automate, and Power BI), I thought will share my SharePoint expertise knowledge with the world. Out audiences are from the United States, Canada, United Kingdom, Australia, New Zealand, etc. For my expertise knowledge and SharePoint tutorials, Microsoft has been awarded a SharePoint MVP(8 times), check out My MVP Profile. I have also worked in companies like HP, TCS, KPIT, etc.