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

url arguments (similar command line arguments for windows exe link)

hello,

 

is it possible to give the web app a parameter with it that i can read inside the power app?

 

start link like this

https://web.powerapps.com/apps/9ea70352-36ac-6468-c857-...?ticket=12345678&name=abc

 

so after start i can read this

ticket and name values?

1 ACCEPTED SOLUTION

Accepted Solutions
CarlosFigueira
Power Apps
Power Apps

Yes - you can use the Param function to retrieve the values that were passed as query string parameters to your app. In your case, the following expression when used in a formula would have the value "12345678":

Param("ticket")

View solution in original post

3 REPLIES 3
CarlosFigueira
Power Apps
Power Apps

Yes - you can use the Param function to retrieve the values that were passed as query string parameters to your app. In your case, the following expression when used in a formula would have the value "12345678":

Param("ticket")
Anonymous
Not applicable

@CarlosFigueirathank you very much 🙂

Anonymous
Not applicable

Param is set when the app is started, as long as the app is running the Param will be set to that value.

 

I have a case where I would like to scan a QR coded url -> open item. (Using neoreader to scan the QR-code since the camera and barcodescanner of PowerApp does not work). If I scan a code and follow the link, PowerApps is launched and the app is launched with the item in the url. If I want to scan another url, I would have to close the app before I follow the link.

Is there a way to get the current passed variable from the url?

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,099)