web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Sharepoint just stuck ...
Power Apps
Answered

Sharepoint just stuck at Getting your data

(0) ShareShare
ReportReport
Posted on by 9

I have created a form using a Sharepoint list.  When I click into the form in SP, it just hangs up at Getting your data.  

 

I've tried the following steps:

  1) My OnSuccess value is ResetForm(SharePointForm1); RequestHide()

  2) I switched the form default property from Edit to New.  

  3) I tried to add If(IsBlank(LookUp('Intake Form', ID = SharePointIntegration.SelectedListItemID)), First('Intake Form'), LookUp('Intake Form', ID = SharePointIntegration.SelectedListItemID)) to the Item value but receive the following message.  "Delegation warning.  The highlighted part of this formula might not work correctly on large data sets. "First" operation is not supported by this connector."

 

Please help.

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,051 Most Valuable Professional on at

    Hi @tmw900 ,

    The OnSuccess should not matter as it only triggers after a form is submitted

    Put the default to Edit or View - the built-in controls (OnView, OnEdit, OnNew) will take care of all of that.

    With the Delegation error, put the Form Item to

    SharePointIntegration.Selected

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

  • v-siky-msft Profile Picture
    on at

    Hi @tmw900 ,

     

    The issue is caused by Items property of Form.

    What is 'Intake Form'? Is it the form you are editing and customizing?

    If so, please modify the code as follows.

    If(IsBlank(SharePointIntegration.Selected)|| IsEmpty(SharePointIntegration.Selected), First([@'Intake Form']),SharePointIntegration.Selected)

    Hope this helps.

    Sik

  • WarrenBelz Profile Picture
    153,051 Most Valuable Professional on at

    Thanks @v-siky-msft ,

    I actually had a delegation error yesterday on that standard code and needed to change it to what I posted. It should not happen I know, but it did and I have seen a couple of other posts with the same issue.

  • tmw900 Profile Picture
    9 on at

    Hi @WarrenBelz,

     

    Thank you for your reply.  I made your suggested changes and it still hangs up with the 'Getting your data'.

     

    One thing to note, my labels will display on the Getting your data screen but none of the form fields.  Any other thoughts?

     

    Thanks,

  • tmw900 Profile Picture
    9 on at

    Hi @v-siky-msft,

     

    Intake Form is the name of my datasource.   I added the code you provided in the Item field and I still get the same Delegation warning.  My form name is SharePointForm1.  Does the order in the tree view matter?  I have SharePointForm1 at the top and then labels and buttons below.

     

    Tom

  • Verified answer
    v-siky-msft Profile Picture
    on at

    Hi @tmw900 ,

     

    I have tried, but I can't reproduce your issue, there is no delegation warning in Items property.

    Snipaste_2020-07-08_10-31-11.png

    Here is an alternative workaround, try to modify the Items property as follows.

    LookUp(postcode,ID=SharePointIntegration.SelectedListItemID)

    If it still shows "Getting your data", please consider deleting the powerapps form in List Setting - Form Setting - Delete custom form, and then re-create one to see if the warning is gone.

    Hope this helps.

    Sik

  • tmw900 Profile Picture
    9 on at

    Hi @v-siky-msft,

     

    That worked!  Thank you very much.

     

    Tom

  • KevinColeMCM Profile Picture
    36 on at

    Deleting  your form and recreating it is a poor solution.  Especially when it takes 8 hours to make the dang form.

  • darrellwinston Profile Picture
    7 on at

    Exactly.  It takes forever because of the STUPID User Interface design.  I have NEVER seen an IDE change Properties on another Control, because I am editing a separate Control.  So deleting the the Form is a Terrible solution...but the way this application is made, I wouldn't be surprised if that is the only solution... Sorry about my venting here.

  • mkortink Profile Picture
    8 on at

    I have had this problem twice, and if you search so have many others, I will give my answer here and hope other can find it.

     

    What happens is the SharePointIntegration connector becomes corrupted and no longer works properly. How, I think if you make even minor changes to the list structure it can screw up SharePointIntegration which seems to have the previous list structure embedded in it somehow.

     

    While SharePointIntegration.SelectedListItemID still gets set correctly SharePointIntegration.Selected is empty. Sometimes using LookUp(YourList,ID=SharePointIntegration.SelectedListItemID) instead of SharePointIntegration.Selected seems to work, but it never worked for me.

     

    My solution does require some effort, but it is better than starting from scratch. I will outline it here, you can work out the details.

    1. You have a list I will call ListA and it has a custom form I will call screenA.
    2. Create a separate new canvas PowerApp I will call appB and connect it to the listA as a datasource. Make sure all the names are the same.
    3. Create a blank screen in appB called screenB.
    4. Open the custom form screenA from listA in PowerApps.
    5. Press Ctrl-A then ctrl-C to select everything on screenA and copy it all to the clipboard.
    6. Go to appB, select screenB, and press Ctrl-V to paste everything onto the screen. This is your backup screen, it will probably have some errors due to SharePointIntegration not existing in appB, and the formatting might be messed up, but ignore these errors.
    7. Look for errors in appB that relate to variables and collections and other stuff outside of sreenB, make careful notes, you will need to recreate these later.
    8. Go back to the list, open it settings, select form settings, and switch to using the default SharePoint form making sure you delete the custom form. Thats right, get rid of it completely!
    9. Now to make sure, go to the list and add/edit some items to make sure the default form is being used.
    10. Now create a custom form again, SharePoint will open PowerApps and give you a default screen to start customising which I will call screenC.
    11. Make a minor visible change to screenC, go back to the list, test screenC works (you will know you are getting screenC because you can see the minor change. This proves SharePointIntegration  is working again.
    12. From the list open the custom form in PowerApps again. 
    13. Now select all, copy and paste (Ctrl-A, ctrl-C, ctrl-V) screenB from the backup to screenC. All the controls should hook up because SharePointIntegration and the same datasource are in the custom form app.
    14. You may still have errors. Use the careful notes you took in step 7 to resolve these.

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard