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
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
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

Highlighted
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
thirdimage

Power Platform 24

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors
Users online (5,762)