cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dvasani-adm
New Member

Powerapps save button issue opening in new tab

Hello MS Team,

 

I have powerapps form and when save or submit the form after that I  redirect page to another page using launch function it is redirecting to another page but it will open in new tab. I have to open it in same .

 

Below different code i tried none of these is working

 

Launch("https://example.com/ThankYou.aspx", {}, LaunchTarget.Self)

Launch("https://example.com/ThankYou.aspx", {}, LaunchTarget.Replace)

Launch("https://example.com/ThankYou.aspx"))

 

Please help to fix this things and if you have any suggestion or any other function let me know

Thank you

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-siky-msft
Community Support
Community Support

Hi @dvasani-adm ,

 

From the Microsoft Official Document Launch Target , we can know that Using a LaunchTarget with any value other than Blank in embedded scenarios (for example, Power BI or SharePoint) is not supported and may result in unexpected behavior. In the future, this behavior may change, or may cause an error.

Hope this helps.

Sik

View solution in original post

4 REPLIES 4
v-siky-msft
Community Support
Community Support

Hi @dvasani-adm ,

 

From the Microsoft Official Document Launch Target , we can know that Using a LaunchTarget with any value other than Blank in embedded scenarios (for example, Power BI or SharePoint) is not supported and may result in unexpected behavior. In the future, this behavior may change, or may cause an error.

Hope this helps.

Sik

not working Blank.

Hi @dvasani-adm ,

 

Sure, the above post  means it's not supported for now to launch a page/app in current tab or window in SharePoint custom form. It is only supported to launch in a new tab/window.

 

Hope this helps.

Sik

Anonymous
Not applicable

@dvasani-adm @v-siky-msft 

 

Any updates to this problem? I'm back a year later and my PowerApp button still opens in a different tab. Any alternate solutions?

 

Thanks.

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 (2,575)