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 / PowerApp form behavior...
Power Apps
Unanswered

PowerApp form behavior different depending on where form is being filled out

(0) ShareShare
ReportReport
Posted on by 17

Hello,

I am building an onboarding form SharePoint list using the PowerApp integration. I'm trying to solve an issue I am having depending on where someone accesses the form from.

 

If someone navigates directly to the SharePoint list and clicks the New button, a blank form loads, which is the correct behavior. 

 

I also have embedded the PowerApp as a web part on our onboarding SharePoint site. When it loads on the SharePoint page, it loads with the first record from the SP list by default. I have attached screenshots of both scenarios. I would like the embedded app to load blank like it does when you click New from the SharePoint list. Thanks in advance for your help.

 

Nelson

SharePoint Form new.png

SharePoint Form embed.png

 

Categories:
  • Akash17 Profile Picture
    Super User 2024 Season 1 on at

    Hi

    If you are working with form in powerapps then you can use ResetForm(Formname);NewForm(FormName)

    Correct me if I am not understood your question

  • nelsonsaenz Profile Picture
    17 on at

    Hello,

    Thank you for your reply. I tried applying the code you provided but the result is the same. Here is a screenshot. 

    SPForm1.png

    Thanks.

     

    Nelson

  • v-yujincui-msft Profile Picture
    Microsoft Employee on at

    Hi @nelsonsaenz ,

     

    By default, it loads the first record in the SP list which should be related to the formula on the Form's Item property.

    vyujincuimsft_0-1659004470232.png

    Maybe you could try the following formula:

    If(IsBlank(SharePointIntegration.Selected) || IsEmpty(SharePointIntegration.Selected),LookUp(datasource,ID=0),SharePointIntegration.Selected)

    This formula is to find a non-existent record, which may cause the form to not display any data.

     

    In addition, maybe you could try to add an extra button and set its OnSelect property to NewForm(SharePointForm1)

    vyujincuimsft_1-1659006636307.png

     

    Hope it will work.

     

     

    Best Regards,
    Charlie Choi

  • nelsonsaenz Profile Picture
    17 on at

    Hi Charlie,

    I plug in that formula and it gives me an error and when I test the form, it's completely blank with message No Item to Display. The button addition may be a good stopgap if I can't figure out how to have it load with a blank form. Speaking of buttons, what is the command for submitting a form like when you hit save from the SharePoint List?

     

    Thanks.

     

    Nelson

  • nelsonsaenz Profile Picture
    17 on at

    Forgot to add the screenshot

    no item to display.png

  • v-yujincui-msft Profile Picture
    Microsoft Employee on at

    Hi @nelsonsaenz ,

     

    I usually use the default formula.

    SubmitForm(SharePointForm1)

    vyujincuimsft_1-1659420988310.png

     

     

    Best Regards,
    Charlie Choi

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard