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

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (53,666)