cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
azeesdinu Helper II
Helper II

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
Highlighted
Community Support
Community Support

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
Highlighted
Community Support
Community Support

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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

‘Better Together’ T-Shirt Contest – Winner Announced!

‘Better Together’ T-Shirt Contest – Winner Announced!

And the winner is...

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

Top Solution Authors
Top Kudoed Authors
Users online (5,987)