Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Navigate to customer Form depending on current sharepoint .aspx page



I have custom forms created in powerapps for a sharepoint list (View, Edit, New) which works more-or-less expected. I'm just wondering if it's possible to navigate to different forms depending on the current .aspx page.

If I for example want to edit an item in sharepoint list it always opens my custom Edit form regardless I'm currently in the complete list of items (AllItems.aspx ) or in a view of only that one particular item (DispForm.aspx).


Does please anyone know if it's possible that for example if I'm in AllItems.aspx and edit an item I'd be navigated to custom form let's say EditForm1 but if I'm in DispForm.aspx and click on Edit All I'd we navigated to EditForm2 ?



Community Support
Community Support


Do you mean to navigate to different EditForms when clicking 'Edit' depending on the page(AllItems or specific DispForm)?

I am afraid this is impossible in PowerApps. 'Edit' button action is based on the OnEidt property of SharePointIntergation and we are not able to get the type of page in PowerApps.


Yes, for example I have forms EditForm1 and EditForm2 created in powerapps which are different and I'd like to trigger them depending on the page I'm currently on. E.g. when I click on "Edit" within AllItems.aspx, EditForm1 would be shown, otherwise (when I click on Edit All in DispForm.aspx_ EditForm2 would be shown.


But from the comment I understood it's not possible, right ?

Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (40,363)