Getting your data PowerApps

This PowerApps tutorial explains, how to solve Getting your data PowerApps error.

Recently, I created a PowerApps form using PowerApps, where user can submit an item to a SharePoint Online list using the NewForm.

But after the forms submit an item, then it shows a message like: “Getting your data”. Check out the screen like below:

getting your data powerapps
getting your data powerapps

PowerApps getting your data

But here our business requirement was to show a blank NewForm after users Submit the item.

I have created a PowerApps from the Canvas Blank App template.

Once the App got created, add an Edit form control to the form. In the form, Insert -> Forms -> Edit.

Then Connect to SharePoint “ProjectBudget” list Data source. After connecting to data source we will get the form in the “Screen1″(default screen).

Then I have added one-button control to the form. From Insert -> Controls -> Button. Set the Text property of a button to “Submit”. Submit button OnSelect property I have added the below formula.

"SubmitForm(Form1);ResetForm(Form1);NewForm(Form1)". 

So that when the user will fill all the fields and click on Submit, the item will save to the list as well as the new form will show in the App with a clear field.

getting your data powerapps
powerapps getting your data error

In the below screenshot I have filled out all the fields and click on “Submit”.

getting your data error powerapps
powerapps getting your data

The items will be saved to the List and NewForm will open with clear all the fields.

getting your data error powerapps
getting your data error powerapps

But the problem is when we left the Title box as blank and filled out other fields and click on “Submit”, then the items will not save to the list because the title is a mandatory field.

getting your data powerapps
getting your data powerapps

I have clicked on the “Submit”, I got the error message. And clear all the fields. That should not be. When the title will blank then the other fields should not be cleared. So we need to add logic in the submit button click.

getting your data powerapps
getting your data powerapps
"Submit button"-> Onselect->If(!IsBlank(DataCardValue1),SubmitForm(Form1);ResetForm(Form1);NewForm(Form1),false)

The DataCardValue1 is the Title column Data card name. I wrote when the title column is not blank then submit and reset the form otherwise false.

powerapps getting your data
getting your data error powerapps

When I leave the title as blank and click on Submit nothing will happen. But when we have filled the title field and click on Submit, then the data will save to the list and clear all the fields in the form.

powerapps getting your data error
powerapps getting your data

You may also like following PowerApps tutorial:

Hope this PowerApps tutorial explains, how to resolve getting your data error PowerApps.

>