cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Link to a specific screen

Hello! I want to open my PowerApp from QR code and i want to have a link to a specific screen (not the main screen). Is it possible to generate this link? I'll appreciate your help.

1 ACCEPTED SOLUTION

Accepted Solutions
MochaPeach
Regular Visitor

I'm glad I came across this item, however, when I used the question mark,  I got the following:
powerapperror.PNG

So, I changed the question mark (?) to the ampersand (&) and it worked as it should.

View solution in original post

3 REPLIES 3
NEPatton
Kudo Kingpin
Kudo Kingpin

Go check this out....

 

https://powerusers.microsoft.com/t5/PowerApps-Forum/Launch-Power-App-in-Browser-with-Parameters/m-p/...

 

For your App, you can add parameters to the end of the URL.  For example:  http://<myAppUrl>?screenID=3

 

?screenID=3 creates a parameter in Powerapps named "ScreenID" and sets the value to 3.

 

You can access this Parameter in PowerApps by calling the Param() function, like this:

 

Param("screenID")

 

So you could modify your "OnStart" function:

 

Set(startScreen,Param("screenID"));If(startScreen=1, Navigate..,If(startScreen=2, Navigate.........

 

etc, etc.  Does that help?

MochaPeach
Regular Visitor

I'm glad I came across this item, however, when I used the question mark,  I got the following:
powerapperror.PNG

So, I changed the question mark (?) to the ampersand (&) and it worked as it should.

View solution in original post

@MochaPeach  Make sure they URL you are using doesn't already have a parameter supplied. 

 

If your URL already has a ? and parameter use append &myparam=value instead. 

 

For example:

https://web.powerapps.com/apps/[GUID]?tenantId=[guid]&myparam=value

 

Recently the details page URL change adding a parameter tenatId by default to support guest access. This parameter tells powerapps which tenant the app is located. 

 

Hope this helps,

Rich

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 (32,241)