cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
xxxxmints
Helper IV
Helper IV

Stop form from prefilling with SharePoint list item

Hello 

I have a very simple form.

Your Name (people picker), Your Area (choice), If other (text) and comments (multline text) and submit button.

In a SharePoint list, I click on New and it's lovely (see pic 1)

Using the App ID I have a SharePoint web part and put it on a page.

The form displays the name, area etc from the first item in the list. (see pic 2)

I go into PowerApps and it happens there as well. 

How do I stop PowerApps from prefilling with a previous item. I just want the field blank.

Thank you.

Mel 

1 ACCEPTED SOLUTION

Accepted Solutions
v-yutliu-msft
Community Support
Community Support

Hi @xxxxmints ,

Could you show me how do you set this: "Using the App ID I have a SharePoint web part "?

I do not quite understand what is a SharePoint web part?

Do you mean that when you click "New", you want the SharePoint web part display blank value like pic1?

If the SharePoint web part is a form, please set its mode to New when you run the custom form.

set the SharePointIntegration's OnNew:

NewForm(SharePointForm1);NewForm( SharePoint web part form name)

265.PNG

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
WarrenBelz
Super User
Super User

Hi @xxxxmints ,

Make the default mode of the form FormMode.New.

When you save the form

SubmitForm(<FormName>);
ResetForm(<FormName>);
NewForm(<FormName>)

Is this what you are after?

 

If this post helps, then please consider Accept it as the solution to help the other members find it more. It also closes the item. 

v-yutliu-msft
Community Support
Community Support

Hi @xxxxmints ,

Could you show me how do you set this: "Using the App ID I have a SharePoint web part "?

I do not quite understand what is a SharePoint web part?

Do you mean that when you click "New", you want the SharePoint web part display blank value like pic1?

If the SharePoint web part is a form, please set its mode to New when you run the custom form.

set the SharePointIntegration's OnNew:

NewForm(SharePointForm1);NewForm( SharePoint web part form name)

265.PNG

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (4,820)