cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
v-aaze
Regular Visitor

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
tchin-nin
Memorable Member
Memorable Member

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (42,876)