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.

View solution in original post

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

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