cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
abd3127
Kudo Kingpin
Kudo Kingpin

Launch and Exit functions And Closing the tab of App

Hello,

I am using Launch and Exit functiions in my app.

Using Launch i am going to another page which open in new tab of the browser.

And Exit logs me out of the app.

This all is fine.

But is there any way that when the new tab is launched ,the old tab should close ?? 

As launch function causes a new extra tab to open .

Thanks !!

1 ACCEPTED SOLUTION

Accepted Solutions
CarlosFigueira
Power Apps
Power Apps

Currently the call to Launch will always open the app in a new window/tab - there's no way to replace the current app with the new one in the current tab.

 

Please consider creating a new feature request in the PowerApps Ideas board to have this new parameter added to the Launch function.

View solution in original post

6 REPLIES 6
CarlosFigueira
Power Apps
Power Apps

Currently the call to Launch will always open the app in a new window/tab - there's no way to replace the current app with the new one in the current tab.

 

Please consider creating a new feature request in the PowerApps Ideas board to have this new parameter added to the Launch function.

Anonymous
Not applicable

I have this issue still  , is there any solution now ?

Pankaj_1993
Frequent Visitor

I am facing the same issue. Launch is happening but the application is not closing properly. After that i am using a deep link url to open the application but it is not able to open.

JDMcNeil
New Member

Maybe this has been changed? I am attempting to launch multiple tabs, but the calls simply reload in the same tab. Is there any better source of info than the MS powerapps doc on how the Launch function really works??

Thanks!

Hi JDMcNeil,

 

Can you please elaborate more specific?

In my case, I was also facing this type issue. I was not able to redirect to the next scrren using deeplink when the app was in freeze mode in the background. So i create a child app and open this using deeplink. After that it moves to the parent app.

IconicAngel
Helper I
Helper I

After Launch have you tried Exit()?

 

Launch("tel://");
Exit();

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,899)