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 / Issue with deep linkin...
Power Apps
Unanswered

Issue with deep linking - navigates to item screen every time instead of home screen when no record is present

(0) ShareShare
ReportReport
Posted on by 26

Hello,

 

I've been using Shane Young's video to implement deeplinking in a lot of my apps with no issues, until now. When creating a deeplink URL that I send in a flow to a user to access over email, the deeplink works perfectly. However when I want to just load the home screen of my app, without wanting to view a record, my app still navigates me to my 'Current Item' screen. Something is wrong in my OnStart code I guess... I've tested with a label to see what varEvalID (my parameter) is and it shows as blank. Here is my code - let me know if you see any issues. Also I've turned on Navigate from OnStart from the settings in the retired section.

 

Code:

Set(varEvalID, Value(Param("EvalID")));
If(varEvalID <> 0,
Set(varRecord, LookUp(OpenTransition, ID = varEvalID)); Navigate('Screen-Current Item'));

 

marclotorto1_0-1643736926191.png

 

 

Categories:
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Okay... Because you are getting a "empty"/null value...

     

    Set(varEvalID, Value(Param("EvalID")));
    If(varEvalID <> 0 OR !IsBlank(Param("EvalID")),
    Set(varRecord, LookUp(OpenTransition, ID = varEvalID)); Navigate('Screen-Current Item'));

     

    Try that and let me know

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

    Check my User Group (pt-PT)!

    Last Post on Community

    My website!

  • marclotorto1 Profile Picture
    26 on at

    Hi, unfortunately that's still not working @Nogueira1306. I implemented your code and it's still taking me to my current item page. I added a label in the top left with the code: "varEvalID: " & varEvalID 
    But as you see in my highlight, it's just blank:

    marclotorto1_0-1643751608084.png

    Here is the code: 

    marclotorto1_1-1643751762388.png

     

     

    Any other suggestions?

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 337 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 250

#3
Mohsin Ali Profile Picture

Mohsin Ali 225

Last 30 days Overall leaderboard