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.

Anonymous
Not applicable

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
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 (4,856)