cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate III
Advocate III

Modern SharePoint links to View/Edit/New PowerApps full page forms?

The following links will take you to full page versions of PowerApps forms for New and Edit in modern SharePoint, which is actually very convenient:

 

https://TENANT.sharepoint.com/sites/mysite/Lists/mylist/NewForm.aspx?ID=1

https://TENANT.sharepoint.com/sites/mysite/Lists/mylist/EditForm.aspx?ID=1

 

You can also access the details view, but it goes to classic mode (no PowerApp form):

 

https://TENANT.sharepoint.com/sites/mysite/Lists/mylist/DispForm.aspx?ID=1

 

Is the reference to the aspx page wrong or is it simply not available?

1 ACCEPTED SOLUTION

Accepted Solutions

I have found if you click on ... > Copy Link, on your SharePoint list item, the URL will take you to the PowerApp display form.

 

You may have to include &pa=1 in your url to get it to open from an email triggerd by Flow or SharePoint Designer... 
example link looks like "https://sitename.sharepoint.com/sites/Form/Incidents/moeincident/DispForm.aspx?ID=1&pa=1&e=nwqLUA"

CopyLink.PNG

View solution in original post

11 REPLIES 11
Microsoft
Microsoft

Hello bdc604,

 

In my case, the last link takes my to the PowerApps form (not classic mode). My form however is customized (PowerApps/Customize form menu). 

Advocate III
Advocate III

Hmm, same, I used PowerApps/Customize on the SharePoint toolbar to make custom new/edit/view forms for a list. Published, cleared my caches in Chrome and IE, no luck, shows classic. Its a modern communications site, not a modern team site. Would that make a difference?

Can you please try to make a change (add a couple of new fields for example) when customizing and then publishing and clicking on "Go back to SharePoint"?

Was hoping some minor changes and clicking Back to SharePoint would shake something loose, no luck, tested on Communications site in IE and Chrome. Perhaps an invalid reference in SharePointIntegration? Looks pretty straight-forward, and my form names are as shown; FormNew1, FormEdit1, FormView1.

 

SharePointIntegration

OnNew:
Set(SharePointFormMode, "CreateForm"); NewForm(FormNew1); Navigate(ScreenNew, ScreenTransition.None)

OnEdit:
Set(SharePointFormMode, "EditForm"); EditForm(FormEdit1); Navigate(ScreenEdit, ScreenTransition.None)

OnView:
Set(SharePointFormMode, "ShowForm"); ViewForm(FormView1); Navigate(ScreenView, ScreenTransition.None)

Advocate III
Advocate III

Are there any ‘unsupported’ SharePoint columns that would trigger this to display in classic mode? Perhaps a calculated column? If so, is there a listing of unsupported column types that would trigger using the classic display form?

In regards to your previous comment, can you please try avoiding the navigatino to other screens?

SharePointIntegration

OnNew:
Set(SharePointFormMode, "CreateForm"); NewForm(FormNew1); 

OnEdit:
Set(SharePointFormMode, "EditForm"); EditForm(FormEdit1); 

OnView:
Set(SharePointFormMode, "ShowForm"); ViewForm(FormView1); 

 

To address your question ftom the last comment, I'm not aware about any exceptions in columns that would cause the classic forms.

Well, that didn't solve it, still shows classic. With Navigation removed NewForm.aspx?ID=1 and EditForm.aspx?ID=1 will show the display form in full page, but still will not change for DispForm.aspx?ID=1


Advocate III
Advocate III

Just odd that it will display correctly as full page powerapp form by tricking it in this manner, but not with DisForm.aspx

I have found if you click on ... > Copy Link, on your SharePoint list item, the URL will take you to the PowerApp display form.

 

You may have to include &pa=1 in your url to get it to open from an email triggerd by Flow or SharePoint Designer... 
example link looks like "https://sitename.sharepoint.com/sites/Form/Incidents/moeincident/DispForm.aspx?ID=1&pa=1&e=nwqLUA"

CopyLink.PNG

View solution in original post

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Check out the Power Apps Community Call for January 2021

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

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