cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Prodigy
Post Prodigy

Launch to Self

I have an app.  Not embedded.

 

I'm trying to get the launch to self to work.

 

I'm doing this

Launch("/providers/Microsoft.PowerApps/apps/<APPID>",{ q: "1" }, LaunchTarget.'Self')
 
But it doesn't like the .'Self' part?? Saying name isn't valid.
 
Any ideas?
 
Thanks,
Terry
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Resolver III
Resolver III

Re: Launch to Self

@Mattw112IG  - please try below to launch the app in the same tab.

 

Launch("/providers/Microsoft.PowerApps/apps/<APP-ID>", {q:1}, LaunchTarget.Replace)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up

View solution in original post

5 REPLIES 5
Highlighted
Super User
Super User

Re: Launch to Self

@Mattw112IG 
I'm looking at the official documentation and it appears Self  is not supposed to have single quotes around it.

Launch("/providers/Microsoft.PowerApps/apps/<APPID>",{ q: "1" }, LaunchTarget.Self)

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Highlighted
Post Prodigy
Post Prodigy

Re: Launch to Self

I've tried both ways...

 

based on here

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Launching-App-Web-Page-in-same-tab-page-of-brow... 

 

Doesn't seem to work. Has anyone else gotten it to work?

 

Thanks,

Terry

Highlighted
Resolver III
Resolver III

Re: Launch to Self

@Mattw112IG  - please try below to launch the app in the same tab.

 

Launch("/providers/Microsoft.PowerApps/apps/<APP-ID>", {q:1}, LaunchTarget.Replace)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up

View solution in original post

Highlighted
Resolver III
Resolver III

Re: Launch to Self

Hi @Mattw112IG, hope you are doing well! Did my work for you? If so, please don't forget to accept/like the solution if it worked for you to help others.

 

Thanks

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Highlighted
Post Prodigy
Post Prodigy

Re: Launch to Self

Thanks that seems to work.

Terry

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (3,635)