I have some customized list forms.
Is there any new method to navigate to a URL on success of the form?
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:
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.
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
Keep up to date with current events and community announcements in the Power Apps community.
A great place where you can stay up to date with community calls and interact with the speakers.
Check out the latest Community Blog from the community!