cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Cooper01
Continued Contributor
Continued Contributor

Pass parameter to SharePoint form?

I have a new item form on a SharePoint list which I have customized using the Customize with PowerApps button. I would like to set a default value based on a parameter passed through the URL. I know this is possible with a canvas app but I have not gotten this to work with the SharePoint form.

My test URL is https://contoso.sharepoint.com/Lists/Managers/NewForm.aspx?District=205. I have a label set to Param("District") which is blank when I publish and navigate to the URL. 

Is it even possible to pass parameters to a customized form? Is there a different way I should go about this than described?

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @Cooper01 ,

The issue is that you cannot open a SharePoint form any other way than from SharePoint, it is not designed to do that. It is not difficult however to make a standalone app, connect to the same data source/s and paste the form from the SP integration straight in to save you re-designing it. The data source should be correct - you just need to change the Item to a Lookup on the incoming ID parameter. Happy to elaborate further.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

 

View solution in original post

2 REPLIES 2
WarrenBelz
Super User
Super User

Hi @Cooper01 ,

The issue is that you cannot open a SharePoint form any other way than from SharePoint, it is not designed to do that. It is not difficult however to make a standalone app, connect to the same data source/s and paste the form from the SP integration straight in to save you re-designing it. The data source should be correct - you just need to change the Item to a Lookup on the incoming ID parameter. Happy to elaborate further.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

 

View solution in original post

Hi @Cooper01 ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,556)