cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

How to use launch-function from one PowerApp to another PowerApp with parameters?

Hi,

    I have one PowerApp named PA, and when I click the button, I will go to another PowerApp named PB, and pass a parameter.

I used launch-function like this: 
Launch("https://web.powerapps.com/apps/987382919","SomeID","123")

"987382919" is the ID of the PB.

Here is the problem, when I test the PA in PowerApps on my iPhone, it worked well, just  went directly to the PB. But when I test the PA in PowerApps on my computer in the browser, it went to  https://as.create.powerapps.com/studio/ instead of the PB.

Then I added a question mark in the function like this:

Launch("https://web.powerapps.com/apps/987382919?","SomeID","123")

When I test the PA in PowerApps on my iPhone, it said PB couldn't open in the right way. When I test the PA in PowerApps on my computer in the browser, it worked well, just  went directly to the PB.

 

Now I want to know is there a way to get the device system, so the PA could know the user is using a phone ,then use the Launch("https://web.powerapps.com/apps/987382919","SomeID","123"), if the user is using a computer browser, PA would use the Launch("https://web.powerapps.com/apps/987382919?","SomeID","123").

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Hi @NicoleChina,

 

Please just tried to use web link to Launch the app, and I get the web link here:

Capture.JPG

 

Using this web link would both work on mobile or web browser. What is your web browser? Please try to test with another one.

 

So far PowerApps cannot detect the device system. You can vote on below idea if you need this function:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/Get-Device-Info-in-PowerApps/idi-p/3173

 

Regards,

Mona

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Hi @NicoleChina,

 

Please just tried to use web link to Launch the app, and I get the web link here:

Capture.JPG

 

Using this web link would both work on mobile or web browser. What is your web browser? Please try to test with another one.

 

So far PowerApps cannot detect the device system. You can vote on below idea if you need this function:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/Get-Device-Info-in-PowerApps/idi-p/3173

 

Regards,

Mona

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (9,967)