web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Navigate to a URL from...
Power Apps
Unanswered

Navigate to a URL from Powerapps

(1) ShareShare
ReportReport
Posted on by 149

I have some customized list forms.

 

Is there any new method to navigate to a URL on success of the form?

Categories:
I have the same question (0)
  • Gorilla_8 Profile Picture
    on at

    hi @rohinMVP 

     

    Use the function Launch("siteurl") on your succes form or on your save button


    Launch( "https://bing.com" )
  • rohinMVP Profile Picture
    149 on at

    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. 

     

  • Gorilla_8 Profile Picture
    on at

    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)

  • rohinMVP Profile Picture
    149 on at

    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.

  • ArtK Profile Picture
    38 on at

    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

  • Nixar Profile Picture
    28 on at

    For me this is working 

    Launch("http://bing.com/search", {q: "Power Apps"}, LaunchTarget.Replace)

  • Gorilla_8 Profile Picture
    on at

    @Nixar 

     

    How I open a link with "{q: ""}" ?

  • Efcarrillo Profile Picture
    4 on at

    that´s the Solution !! Thanks !!

  • dynamicsgirl Profile Picture
    32 on at

    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

  • chico Profile Picture
    638 on at

    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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard