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 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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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 (2,397)