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

URL to open Powerapp to specific record

Hi there - I feel like this should be fairly simple but I cannot figure out how to do it.  I want to send out a URL to a user that points to a Powerapp form and displays a spcific record from the SharePoint list.  I want to display the record in the Sharepoint list with an ID of 21 and I'm trying the string below, but it always just displays the first record.  I'm assuming I need to set the ID parameter somewhere inside of the Powerapp form but Im not sure where, can anyone help?  

 

https://web.powerapps.com/apps/<MyAppID>?ID=21

2 ACCEPTED SOLUTIONS

Accepted Solutions

Hi Hardit - yup, Im trying to display the record on a form.  I will try that string in the Form Items property, thanks!

View solution in original post

Please note that you will have to modify the formula slightly based on your real data. But yea, let me know if it doesn't work. We can look into it further then.

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!

Hardit Bhatia
https://www.thepoweraddict.com

View solution in original post

7 REPLIES 7
Super User II
Super User II

Try something like this:
Set(tempVar, Param(ID))
This can be on the OnVisible property of a screen or on the OnStart property of the app.
Then wherever you are trying to display this record in a form, use this ID to filter the list of records to get the one you want, with something like this:

LookUp(Entity, ID = tempVar)

Let me know if this helps.

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!

Hardit Bhatia
https://www.thepoweraddict.com

Thanks Hardit - so Im sorry, where exactly should I place this string?  LookUp(Entity, ID = tempVar)

Are you trying to display the record in a form? Trying to understand this part of your question: " I want to display the record in the Sharepoint list with an ID of 21 and I'm trying the string below, but it always just displays the first record. "

If its a form, then set the Item property of the form to the formula I suggested.

I guess my question is how are you displaying the record in your app?

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!

Hardit Bhatia
https://www.thepoweraddict.com

Hi Hardit - yup, Im trying to display the record on a form.  I will try that string in the Form Items property, thanks!

View solution in original post

Please note that you will have to modify the formula slightly based on your real data. But yea, let me know if it doesn't work. We can look into it further then.

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!

Hardit Bhatia
https://www.thepoweraddict.com

View solution in original post

Worked like a charm Hardit, you are the man!

Glad I could help! Good luck with the rest of your app! Feel free to reach out in case of any questions!

Thanks,
Hardit Bhatia
The Power Addict
https://thepoweraddict.com

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

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

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (8,376)