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.

View solution in original post

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.

View solution in original post

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
thirdimage

Power Automate 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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 342 members 6,104 guests
Please welcome our newest community members: