web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Deep linking a specifi...
Power Apps
Unanswered

Deep linking a specific record

(0) ShareShare
ReportReport
Posted on by 101

I'm trying to use deep link for a specific record.  When a user received an email with a link, I would like the link to take the user to the specific record.  

This is what is on my App's OnStart: 

If(Not(IsBlank(Param("ID"))),
Set(CurrentItem, LookUp('Component Transfer List'.ID, ID = Value(Param("ID")))); Navigate(ApprovalURL)

 

The screen labeled, ApprovalURL, has two edit forms connected to two connectors (SharePoint List). 

First connector is called Component Transfer Request and the second connector is called Repeated Table Data.

The top half of the form is connected to the Components Transfer Request list and in the Items property of that form I have:

If(Value(Param("ID")) > 0, First(Filter('Component Transfer List', ID=Value(Param("ID")))))

The second half of the form is connected to the Repeated Table Data list and in the items property of that form I have: 

First(Filter('Repeated Table Data',ID=varRepeatTable.ID))

 

When I click on the deep link that I created it does not take me to a specific record, it take me to the home screen. 

 

Any help is appreciated. 

 

 

 

 

 

 

Categories:
I have the same question (0)
  • MicroMarc365 Profile Picture
    101 on at

    Also when I try the deep linking, it pulls up the form but this is what i'm getting: "Getting your data...)

    MicroMarc365_0-1681231561053.png

     

  • SolTeferi Profile Picture
    on at

    Hi @MicroMarc365 ,

     

    There are a couple things to fix in your formula.

    First, you defined the variable  'CurrentItem' on the App's OnStart, but you did not use it. That formula also has a syntax error. Just remove the first '.ID'. So, it should be:

    If(!IsBlank(Param("ID"))),
    Set(CurrentItem, LookUp('Component Transfer List', ID = Value(Param("ID")))); Navigate(ApprovalURL)

    Once you fix that, you can just use the variable 'CurrentItem' on the top portion of your form on the 'ApprovalURL' screen.

    Then, set the 'StartScreen' of the App like the following:

     

     

    If(!IsBlank(Param("ID")),ApprovalURL,YourHomeScreenName)

     

     

    Also, what is the variable 'varRepeatTable'? Was it defined in the same way as the variable 'CurrentItem' but for the other SharePoint List? If so, what you have should work for that part. I hope this will help.

  • MicroMarc365 Profile Picture
    101 on at

    Unfortunately, it's not working.  I entered "CurrentItem" under items on the form and it's not recognizing it.  I changed CurrentItms to varCurrentItem under OnStart and then set Items to varCurrentItem and it still isn't working.  When I click the link it brings me back to the Home Screen. 

  • SolTeferi Profile Picture
    on at

    You are right. There was a little error I overlooked on the first one. Please use the below on the OnStart of the App. It is the same as the first except one parenthesis. 

     

    If(!IsBlank(Param("ID")),Set(CurrentItem, LookUp('Component Transfer List' , ID = Value(Param("ID")))));

     

    You don't have to add the 'Navigate(ApprovalURL)'. That is taken care of by the 'StartScreen' formula below:

    If(!IsBlank(Param("ID")),ApprovalURL,YourHomeScreenName)

    Let me know if this does not work. But, I am sure this should do it.

  • MicroMarc365 Profile Picture
    101 on at

    I made those changes, but when I click on the link (deep link) to take me directly to a specific record, the forms are stuck on "Getting data..."

    I'm so lost, lol.

  • SolTeferi Profile Picture
    on at

    That may be due to one or more reasons. Please check the following:

     

    • Make sure the data source of the form is set to the same SharePoint list the deep link refers to.
    • Make sure the item referenced in the deep link exists. For example, if the item in the deep link was deleted from the data source, you will see that "Getting data ..." error
    • Finally, check the default mode of the form. If it is 'New', that is why it is giving you the error "Getting data...". So, you can change the default mode of the form to 'Edit' to fix.

     

    If there are times when the form is also used for entering new data, you can conditionally set the form mode. If that is the case, let me know if you need help with that. But, first try the above three.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard