Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Yet another Getting your data ... issue

(0) ShareShare
ReportReport
Posted on by 930

I have a survey app created that asks questions that will be recorded in a SharePoint list. For 21 of 25 pages (many pages have just one question), everything works fine. F or those last three pages, the question is not populating on the app page, instead displaying, "Getting your data ..." endlessly. Using the same connector, accessing the same list, I am unable to see how this is getting a different result as the other successful pages.

BenDonahue_0-1605021591899.png

I can't tell the difference between the pages that work and the pages that do not, except for the column being referenced to save the responses to.

 

I even added that same question to a working page, and referencing the same column as the non-working page did not break the working page.

 

I have re-created this page twice from scratch, and still am not able to root out the issue.

 

Your help is appreciated; l thank you.

 

P.S. Regarding adding question to a page that already works, I tried to duplicate that page, rename it to the old name, Page6, save and version update, and Page 6 does not work again. I renamed the page to PageSix, and it works. I have a workaround that seems to be working, but not a solution: Why does Power Apps not like "Page6" but does like "Page5" and "PageSix" for a title and why does that effect the connector?

  • Verified answer
    v-jefferni Profile Picture
    v-jefferni on at
    Re: Yet another Getting your data ... issue

    Hi @BenDonahue ,

     

    Could you share the Item property of that Form? Is it something like Gallery.Selected?

     

    Here in your demo, I think the form’s Default Mode is NewMode, and when you navigate in the screen it’s also in New Mode which means NO item in it, after your Patch action, it would submit a record to the data source but then the form could not know what data to get thus occurs the Getting data issue.

     

    Basically in the form’s OnSuccess is the function of Back(), so if from view form to edit form, back to view form page and if add new item on gallery page to edit form, back to gallery page.

     

    On your side, you could try to Refresh the data source and EditForm/ViewForm to force the form to be Edit/View Mode if you would not like to navigate away, but the point is to leverage the Item property to tell the form which item to display, such as “Form1.LastSubmit” or some specific record you may use LookUp function to retrieve.

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • BenDonahue Profile Picture
    BenDonahue 930 on at
    Re: Yet another Getting your data ... issue

    @v-jefferni 

    This may prove to be a simpler situation that will reveal the core of the issue. I created a mini version of the one described earlier that is extremely simple. One page, same connector, one button, one form with three fields.

    BenDonahue_0-1605122680109.png

    Button OnSelect function:

    BenDonahue_1-1605122733970.png

    Patch(
    ['Household Interaction Data'], Defaults(['Household Interaction Data']), {StreetAddress: DataCardValue2, StreetAddress2: DataCardValue3, DoorAnswer:DataCardValue7}
    )

     

    After saving (no versioning update on first save, of course):

    Pressing "play" at the top of the screen:

    BenDonahue_2-1605122779569.png

     

    Running the app:

    Getting you data fail.png

     

     

    This is confounding and frustrating.

    This is supposed to be a simple use-case so I can test IF I can add data to a SharePoint list, not IF I can make a form appear on a PowerApps page.

    What am I doing wrong? 

     

     

  • v-jefferni Profile Picture
    v-jefferni on at
    Re: Yet another Getting your data ... issue

    Hi @BenDonahue ,

     

    Could you please share more details about your App? Is it generated from SharePoint list Customize form or an individual app? Are those forms all Edit Forms in New Mode? What formulas have you applied on the Next and Back buttons? What are in those Forms' Item property, Gallery.Selected?

     

    As per you mentioned in the post, I think those last forms may lost connection with data source. Assuming the Next Button with the formula Navigate(NextScreen), please try:

     

    Modify the formula in OnSelect of Next button to NewForm(NextScreenForm);Refresh(ListDataSource);ResetForm(NextScreenForm); Navigate(NextScreen)

     

    If the issue persists, please share the details on the questions above.

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard