cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
v-aaze
Level: Powered On

Using Param() to link to a specific page onStart

Hi all,

 

I'm trying to link to a specific PowerApps screen based on a Param() value.

I've searched around for reference and still get stuck.

 

Scenario:

I have created a custom form for a SharePoint List.

I'd like to have one SharePoint page embed the form screen via ?screenID=1. (formScreen)

I'd like to have another SharePoint page embed the gallery screen via ?screenID=2. (galleryScreen)

 

I'm having trouble determing what formula to put in the onStart field for formScreen.

Let's assume I'm using

Any help would be much appreciated.

Thank you!

1 REPLY 1
Highlighted
Super User
Super User

Re: Using Param() to link to a specific page onStart

Hi @v-aaze

 

Have a look on This article about deep linking in PowerApps. It explains very well how to use a parameter to navigate to a specific screen. 

I would add a seconde tips :

Create a collection to associate an ID to a screen so you can easily identify which screen to navigate to according to the ID in your parameter :

 

ClearCollect(NavScreens,{ID:1,Screen:Screen.ScreenName1},{ID:2, Screen:Screen.ScreenName2});

If(!IsBlank(Param("screenID")),Navigate(LookUp(NavScreen,ID=Value(Parameters("screenID")),Screen),None))

 

Théo

 

Helpful resources

Announcements
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 (6,588)