cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
malibu
Level: Power Up

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
Level: Powered On

Re: Link to a specific screen

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.

3 REPLIES 3
NEPatton
Level 8

Re: Link to a specific screen

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
Level: Powered On

Re: Link to a specific screen

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.

PowerApps Staff richdiMSFT
PowerApps Staff

Re: Link to a specific screen

@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
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 240 members 5,271 guests
Please welcome our newest community members: