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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Getting your data message
Power Apps
Answered

Getting your data message

(0) ShareShare
ReportReport
Posted on by 73

Hi, 

 

I have a form connected to a Sharepoint list, when I clicked New in SharePoint I did not get the form data and instead I got a message saying "Getting your data". I solve that, writing the following in the Item section of the form: If(IsBlank(SharePointIntegration.Selected) || IsEmpty(SharePointIntegration.Selected),First([@EMPLEADO]),SharePointIntegration.Selected), however, it is not helpful to get the values of the first row every time the user has to create a new record. 

 

Is there any other workaround for this issue? 

 

Thank you 

 

 

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

    Hi @bolandre92 ,

    What exactly are you trying to do here? A new record will not have any fields completed when opened, unless there are Defaults in either the data source or the relevant card. The code below is standard and would not initiate on a new form.

    If(
     IsBlank(SharePointIntegration.Selected) || 
     IsEmpty(SharePointIntegration.Selected),
     First([@EMPLEADO]),
     SharePointIntegration.Selected
    )

     Are you trying to put something as Default in some fields?

  • bolandre92 Profile Picture
    73 on at

    Thank you @WarrenBelz 

     

    I had to place that code because when I opened the Form in Sharepoint, it did not show anything and instead a message saying "Getting your date". Answering your question, I want the Form in blank when a user click the NEW buttom. 

     

    thks, 

     

  • WarrenBelz Profile Picture
    154,799 Most Valuable Professional on at

    @bolandre92 ,

    What is your OnNew code?

  • bolandre92 Profile Picture
    73 on at

    Here is what I have:

     

    NewForm(SharePointForm1)

     

    BTW, there is a screen attached on how things looks like if I eliminate the following code:

     

    If(IsBlank(SharePointIntegration.Selected) || IsEmpty(SharePointIntegration.Selected),First([@EMPLEADO]),SharePointIntegration.Selected)

    Screen Shot 2020-05-24 at 01.28.59.png
  • WarrenBelz Profile Picture
    154,799 Most Valuable Professional on at

    @bolandre92 ,

    There is no reason your OnNew code should not produce a new blank form. I assume the other code you refer to is on the Item of the form. If so, this is irrelevant and will not affect a new form, but would certainly affect an Edit or View form (as it would not know what record to display).

    It only really needs to be SharePointIntegration.Selected (that is what I set all mine to) - you might try this.

    Also, what else have you changed as a standard form has all the necessary settings to work as it should.

     

    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.

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

    Hi @bolandre92 ,

     

    I just found there are multiple EditForm controls in the app, right?

    Once the EditForm is in New mode by NewForm(FormName) code, all fields will show in blank. So you need to modify the OnNew property as follows to set Mode of All EditForms to New.

    OnNew: NewForm(FormName1);NewForm(FormName2);NewForm(FormName3)

     

    Hope this helps.

    Sik

  • bolandre92 Profile Picture
    73 on at

    @v-siky-msft 

     

    Thank you, it worked perfectly. 

     

    @WarrenBelz 

     

    Thank you for your continuous support always. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard