cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bdc604
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
dinusc
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). 

bdc604
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)

bdc604
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


bdc604
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

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (1,607)