cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
TorreyF
Level: Powered On

Powerapps creating New Form when I am in edit mode

Let me preface by mentioning that I'm pretty new to this, so please keep that in mind if you are able to help with this.

 

I created a powerapp from a Sharepoint list using the option from the sharepoint list where it says "Create a Powerapp", so it automatically came up with most of the functions itself.

 

The problem I'm having is that it created the form so that the same screen is used when adding a new entry, and when editing. I have no issue with this, other then when I select a previously submitted entry to edit, instead of modifying that entry, it submits a new entry and both the old and the newly modified one are in the list. 

 

I honestly don't know which property to change to fix this problem. If you can help, please let me know what screenshots (which functions) would be helpful for you to see. 

 

Thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Powerapps creating New Form when I am in edit mode

Hi @TorreyF ,

 

Did you mean the custom form created from SharePoint site directly? If so, please check the OnEdit property of SharePointIntegration contro. Make sure the formula is:

EditForm(SharePointForm1)

 

Check the Item property of Form control, make sure it is:

 

If(IsBlank(SharePointIntegration.Selected) || IsEmpty(SharePointIntegration.Selected),First('YourListName'),SharePointIntegration.Selected)

 

For more information, please refer to:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/sharepoint-form-integration

 

 

Regards,

Mona

Community Support Team _ Mona Li
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
Super User
Super User

Re: Powerapps creating New Form when I am in edit mode

When you click the "+" to create a new record it should bring you to the Edit screen but put change the form mode to new. When you save the form a new record will be created and then you will be brought back to browse screen. If you click on a record in the browse gallery it should bring you to the Edit screen and set the form mode to edit and populate the screen with the data from the selected record. You can make changes and click on save. Then those changes should be saved to the existing record and you should be brought back to the Browse screen. 

 

Did you make any changes to the auto generated app? Are you selecting the previously created record from the browse screen using ">" on the gallery row?



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
Community Support Team
Community Support Team

Re: Powerapps creating New Form when I am in edit mode

Hi @TorreyF ,

 

Did you mean the custom form created from SharePoint site directly? If so, please check the OnEdit property of SharePointIntegration contro. Make sure the formula is:

EditForm(SharePointForm1)

 

Check the Item property of Form control, make sure it is:

 

If(IsBlank(SharePointIntegration.Selected) || IsEmpty(SharePointIntegration.Selected),First('YourListName'),SharePointIntegration.Selected)

 

For more information, please refer to:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/sharepoint-form-integration

 

 

Regards,

Mona

Community Support Team _ Mona Li
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

Helpful resources

Announcements
thirdimage

Coming Soon: T-Shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors
Users online (6,641)