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

PowerApps Navigate to Screen based on params in url

Hii everyone,

                    Can someone help me define on how to navigate based on Params in url.

I have application with two screens . I want to navigate to screen 2 based on the url selection.

Something like this :

Select URL 1 : goes to screen1 in PowerApps

Select URL 2 : goes to screen2 in PowerApps

Please help how to define the parameter and also how to use that parameter in URL.

     Thanks in Advance.

 

Regards,

Manoj

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: PowerApps Navigate to Screen based on params in url

Hi @kullurumanoj ,

Could you please share a bit more about your scenario?

Do you want to navigate to a specific screen in your app based on the Params defined within your App URL link?

 

The user @JD2301 and @KH1 have faced similar issue with you, please check my response within the following threads:

https://powerusers.microsoft.com/t5/General-Discussion/Email-Notifications/m-p/183482#M60412

https://powerusers.microsoft.com/t5/General-Discussion/Allowing-user-to-edit-response-to-an-already-...

 

I assume that you want to access your app through the App URL link, is it true? On your side, you should define your App URL link as below:

https://web.powerapps.com/apps/76897698-xxxx-b2de-xxxx-xxxx74f114f2?TargetScreen=Screen1

Note: The '76897698-xxxx-b2de-xxxx-xxxx74f114f2' represents the App ID of your app. The TargetScreen represents the parameter you defined within your App URL, the Screen1 represents the parameter value for the TargetScreen param.

Within your app, set the OnStart property of the App control to following:

Set(ScreenVariable, Param("TargetScreen"));   /* <-- Use Param() function to receive parameter values from above App URL link */
If(
    ScreenVariable = "Screen1",
    Navigate(Screen1, ScreenTransition.None),   /* <-- Screen1 and Screen2 are both Screens in your app */
    ScreenVariable = "Screen2",
    Navigate(Screen2, ScreenTransition.None)
)

More details about Param() function, please check the following article:

Param function

 

Please also check and see if the following blog would help in your scenario:

https://powerapps.microsoft.com/en-us/blog/powerapps-deep-linking/

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 REPLIES 2
Community Support Team
Community Support Team

Re: PowerApps Navigate to Screen based on params in url

Hi @kullurumanoj ,

Could you please share a bit more about your scenario?

Do you want to navigate to a specific screen in your app based on the Params defined within your App URL link?

 

The user @JD2301 and @KH1 have faced similar issue with you, please check my response within the following threads:

https://powerusers.microsoft.com/t5/General-Discussion/Email-Notifications/m-p/183482#M60412

https://powerusers.microsoft.com/t5/General-Discussion/Allowing-user-to-edit-response-to-an-already-...

 

I assume that you want to access your app through the App URL link, is it true? On your side, you should define your App URL link as below:

https://web.powerapps.com/apps/76897698-xxxx-b2de-xxxx-xxxx74f114f2?TargetScreen=Screen1

Note: The '76897698-xxxx-b2de-xxxx-xxxx74f114f2' represents the App ID of your app. The TargetScreen represents the parameter you defined within your App URL, the Screen1 represents the parameter value for the TargetScreen param.

Within your app, set the OnStart property of the App control to following:

Set(ScreenVariable, Param("TargetScreen"));   /* <-- Use Param() function to receive parameter values from above App URL link */
If(
    ScreenVariable = "Screen1",
    Navigate(Screen1, ScreenTransition.None),   /* <-- Screen1 and Screen2 are both Screens in your app */
    ScreenVariable = "Screen2",
    Navigate(Screen2, ScreenTransition.None)
)

More details about Param() function, please check the following article:

Param function

 

Please also check and see if the following blog would help in your scenario:

https://powerapps.microsoft.com/en-us/blog/powerapps-deep-linking/

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
kullurumanoj
Level: Powered On

Re: PowerApps Navigate to Screen based on params in url

This is exactly what I am looking for ..

Thanks again @v-xida-msft