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 / Creating Deep Links wi...
Power Apps
Answered

Creating Deep Links with StartScreen Property and Setting Up Global Variables

(0) ShareShare
ReportReport
Posted on by 2

Hi All,

 

I have a App which was built in December 2020 which is running very smoothly.

 

I have created deep links in OnStart Property of the app. Below the code.

 

Set(
 VarIdeaID,
 Value(Param("IDEA"))
);
If(
 Idea <> 0,
 Set(
 VarIntake,
 LookUp(
 'SP List',
 ID = VarIdeaID
 )
 );
 Navigate(DetailsWithApproval)
);
Set(
 VarIdeaUID,
 Value(Param("UPD"))
);
If(
 VarIdeaUID <> 0,
 Set(
 VarUpdateIdea,
 LookUp(
 'SP List',
 ID = VarIdeaUID
 )
 );
 Navigate(I_Update)
);
Set(
 VarIdeaSBID,
 Value(Param("SB"))
);
If(
 VarIdeaSBID <> 0,
 Set(
 VarSBIdea,
 LookUp(
 'SP List',
 ID = VarIdeaSBID
 )
 );
 Navigate(I_SendBack)
);
Set(
 vUserMail,
 Lower(User().Email)
)

 

 

The above code is written is working perfectly. But when i am making any changes now, the functionality is not working as expected. Actually i have created three parameters and i want a user to be navigated to the desired screen and should open the respective record in to the form.

 

The problem is as below.

 

1. When making any changes in to the app, it is not recognizing the Navigate function, hence it is landing the user to a different page than home page.

 

I am requesting help for the below.

 

1. Can someone please share steps on how to create Deep Links with StartScreen Property.

2. As per my understanding we cant use Set function with StartScreen so how to satisfy the need where needed a global variable when Application loads.

 

Warm Regards,

Categories:
I have the same question (0)
  • Verified answer
    seanbrogan Profile Picture
    430 on at

    I don't think you can do a navigate command from a start screen property. But maybe you could try a timer to do the navigation.

     

    So in your code wherever you have a Navigate() command you could put instead Set(MyVariable, 1) or Set(MyVariable, 2) etc...

     

    Then at the end of your code above put Set(MyTimerVariable, true)

     

    Then add a timer control to your screen. In the Timer's Start property put MyTimerVariable, so the timer will start when the variable is set to true, give the timer a value say 500ms, then in the timer OnTimerEnd property put... If(MyVariable = 1,Navigate(pageX), If(MyVariable = 2, Navigate(pageY), If(MyVariable = 3, Navigate(pageZ)))

     

    Just an idea I can't guarantee it will work

  • Verified answer
    seanbrogan Profile Picture
    430 on at

    Just to add

    If you can't use Set() you can use UpdateContext({MyVariable: 1})

  • AkshayManke Profile Picture
    2 on at

    Hi @seanbrogan, thanks for sharing the workaround. 

    I would wait for more two days if anyone have any other solution on this.

    Warm Regards,

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 416 Most Valuable Professional

#2
11manish Profile Picture

11manish 205 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard