cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
VisibleFilm
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
PowerAddict
Super User
Super User

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,742)