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

EditForm not working

HI All,
I'm using SharePoint Custom List PowerApps form. I have single form for all three views like (New, View and Edit).
So I have SharePointIntegration events like OnView = ViewForm(SharePointForm1), OnEdit = EditForm(SharePointForm1). and OnNew=NewForm(SharePointForm1); Set(varFormData, "text").
All three different modes are like EditItem , NewItem and ViewItem are working as expected if I directly went to SharePoint List AllItems.aspx view.
But I have created site page and added list view webpart and added my custom list. I can able to navigate If I select particular item to view page (DispForm.aspx) . But, Unable to edit the items from the view page. It’s never navigate to Editform.aspx. Please let me know if anybody facing this issue before.

Note : I can able to directly go to edititem.aspx page from the list view webpart and able to edit the items.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: EditForm not working

Hi @azeesdinu ,

Could you please share a screenshot about the issue?

Do you want to edit the selected item and navigate to the Edit form screen from your Detail form screen?

 

Based on the issue that that you mentioned, I have made a test, and the issue is confirmed on my side.

If you embedded your List (custom a form for it using PowerApps) as a Web part within your SP Site Page, when you select a particular item within the List View, it would open another new tab to run the custom form (created via PowerApps) as below:Test.gif

Within above opened View from, there is a "Edit all" option, when you press the "Edit all" option, it would not navigate you to the Edit form (Edititem.aspx page).

 

Actually, it is an known issue with the default SP List form/custom form in SP Modern experience List. Currently, within SP List, if your SP List is in a Modern experience, when you edit an item in your SP List, it would not navigate you to the Editform.aspx, instead, it would stay in the DispForm.aspx page to complete your "Edit/Update" operation.

 

If you want to edit the selected item and navigate to the Edit form screen (Edititem.aspx page) from your Detail form screen via clicking "Edit all" option, I afraid that there is no way to achieve your needs in PowerApps.

If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

In addition, if you want to navigate to the Edititem.aspx page to update your selected item from your Display form screen, please take a try with the following workaround:

Add a Button control (Called "Edit Item") within your Display screen, set the OnSelect property to following:

 

Launch("https://contoso.sharepoint.com/sites/sitename/Lists/YourSPListName/DispForm.aspx?ID=" & SharePointIntegration.Selected.ID)

Or

 

Launch("https://contoso.sharepoint.com/sites/sitename/Lists/YourSPListName/DispForm.aspx?ID=" & SharePointIntegration.SelectedListItemID)

Note: The 'https://contoso.sharepoint.com/sites/sitename' represents your Site Address. YourSPListName represents your SP List name.

 

 

 

Please consider take a try with above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
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

1 REPLY 1
Community Support Team
Community Support Team

Re: EditForm not working

Hi @azeesdinu ,

Could you please share a screenshot about the issue?

Do you want to edit the selected item and navigate to the Edit form screen from your Detail form screen?

 

Based on the issue that that you mentioned, I have made a test, and the issue is confirmed on my side.

If you embedded your List (custom a form for it using PowerApps) as a Web part within your SP Site Page, when you select a particular item within the List View, it would open another new tab to run the custom form (created via PowerApps) as below:Test.gif

Within above opened View from, there is a "Edit all" option, when you press the "Edit all" option, it would not navigate you to the Edit form (Edititem.aspx page).

 

Actually, it is an known issue with the default SP List form/custom form in SP Modern experience List. Currently, within SP List, if your SP List is in a Modern experience, when you edit an item in your SP List, it would not navigate you to the Editform.aspx, instead, it would stay in the DispForm.aspx page to complete your "Edit/Update" operation.

 

If you want to edit the selected item and navigate to the Edit form screen (Edititem.aspx page) from your Detail form screen via clicking "Edit all" option, I afraid that there is no way to achieve your needs in PowerApps.

If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

In addition, if you want to navigate to the Edititem.aspx page to update your selected item from your Display form screen, please take a try with the following workaround:

Add a Button control (Called "Edit Item") within your Display screen, set the OnSelect property to following:

 

Launch("https://contoso.sharepoint.com/sites/sitename/Lists/YourSPListName/DispForm.aspx?ID=" & SharePointIntegration.Selected.ID)

Or

 

Launch("https://contoso.sharepoint.com/sites/sitename/Lists/YourSPListName/DispForm.aspx?ID=" & SharePointIntegration.SelectedListItemID)

Note: The 'https://contoso.sharepoint.com/sites/sitename' represents your Site Address. YourSPListName represents your SP List name.

 

 

 

Please consider take a try with above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
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

Power Automate 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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,821)