Notifications
Announcements
I have some customized list forms.
Is there any new method to navigate to a URL on success of the form?
hi @rohinMVP
Use the function Launch("siteurl") on your succes form or on your save button
Launch( "https://bing.com" )
Ji @Gorilla_8
I tried launch, but it is opening the specified url in a new tab, whereas I want to open it in the same tab.
Not sure if it was because of the resetform and other methods I have along with launch.
In that case use you have to close the application and after use launch
To close a running app with a button simply put the following function in the OnSelect of a button:
Exit()
This will close the app on desktop or mobile. Also it only works in published version of the app (you will not be able to use this button while in editor in preview mode)
Exit() is not working for me.
As I have originally mentioned, my power app is a customized list form. When the form is submitted, the user is taken to the concerned list.
I want to modify the form such that if the form is accessed via newform.aspx or editform.aspx, the user should be taken to the homepage instead of the concerned list.
Try: Launch( "https://bing.com", Replace)
The Target location using replace to open the link is in preview. (I don't think Replace needs to be in quotes) The default is New.
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-param
-Art
For me this is working
Launch("http://bing.com/search", {q: "Power Apps"}, LaunchTarget.Replace)
@Nixar
How I open a link with "{q: ""}" ?
that´s the Solution !! Thanks !!
For anyone who still needs a solution, here's a short video showing how to navigate to a URL, staying in the same tab (and also showing the option to open a new tab): https://youtu.be/H8_jqTsC2iY
can also be done with;
Launch("https://www.google.com", {}, LaunchTarget.Replace )
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 765 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 272