cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Saratha30_M
Level: Powered On

Canvas app display particular record with record id passing in the URL

I have canvas app with tab layout in online PowerApps instance. It is connected to SQL server database. It has table data. I would like to send mail to the user with the link of particular record id.  If user click the link, it has to open the related record in the canvas app. Please suggest if any way to achieve it.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: Canvas app display particular record with record id passing in the URL

@Saratha30_M 

The technique you are looking for is called "deep linking" by the community.  You can pass a parameter from a URL such as record ID into PowerApps and it will load the item in your app.  Check out this great video by @aprildunnam  https://powerusers.microsoft.com/t5/Videos/PowerApps-Deep-Linking-How-To/td-p/357265

 

This article is also very concise if you want to read something brief instead. http://powerappspros.com/2017/03/powerapps-pro-tips-passing-parameters/

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

2 REPLIES 2
Highlighted
Super User
Super User

Re: Canvas app display particular record with record id passing in the URL

@Saratha30_M 

The technique you are looking for is called "deep linking" by the community.  You can pass a parameter from a URL such as record ID into PowerApps and it will load the item in your app.  Check out this great video by @aprildunnam  https://powerusers.microsoft.com/t5/Videos/PowerApps-Deep-Linking-How-To/td-p/357265

 

This article is also very concise if you want to read something brief instead. http://powerappspros.com/2017/03/powerapps-pro-tips-passing-parameters/

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

Microsoft v-siky-msft
Microsoft

Re: Canvas app display particular record with record id passing in the URL

Hi @Saratha30_M ,

 

1. Take the Web Link of Apps and add & after to pass the parameter.Snipaste_2019-12-09_17-33-24.png

2. Add to OnStart property of App:

Set(RID, Param("RecordID")); If(Not(IsBlank(RID)), Naviagte(DetailScreen))

3. Modify the Items property of Form:

If(IsBlank(RID), <your original items property> ,LookUp('Data source', 'record id'=RID ))

4. Send the email with the link to users.

If the parameter is passed into Apps, the app will navigate to Detailscreen, and show the specific record in Form.

Best regards,

Sik

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

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