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 / Launch in same tab for...
Power Apps
Unanswered

Launch in same tab for powerapps save button

(0) ShareShare
ReportReport
Posted on by

Hi Folks,

 

I have an issue with my simple powerapp. On save button, i want to use Launch ("urladdress") to redirect to a page, upon using , it works but opens up in a separate window. can I add something to allow it to open in same window? Please share thoughts. i have been reading about launchtarget but could not get it to work, please help.

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    @Anonymous 

     

    This feature is in preview currently. Check if it is available in your region? If it is, you can follow: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-param#target

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Community Power Platform Member Profile Picture
    on at

    thanks @yashag2255 , is this an experimental or preview feature? I have all toggled on for preview features, any help?

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    @Anonymous 

     

    This is a preview feature and should be available directly. Can you try to update your expression as per below mentioned expression:

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

    If you do not have any parameters to pass, leave the second argument as is.

     

    Note: This does not work in Edit mode, you can test it out in the Play mode after publishing the application.

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Community Power Platform Member Profile Picture
    on at

    thanks a lot @yashag2255 , it still opens up in a new tab, thoughts?

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    @Anonymous 

     

    I tried the expression myself and it does not work for me in Edit mode, but when I played the app in a new browser window after publishing the app, it worked. Can you try to check the same?

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

  • Community Power Platform Member Profile Picture
    on at

    thanks @yashag2255 , in my case, i have modified the exisitng sharpeoint edit form using powerapps so technically its not a standalone powerapp. Thoughts? May be that is why its not working?

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    If that is case, can you try to publish the form, go back to SharePoint and then test the behavior?

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Community Power Platform Member Profile Picture
    on at

    Hi @yashag2255

     

    I am working on something similar to @Anonymous where I am creating the app on power apps, publishing it, the uploading it to SharePoint. When I click the button it still opens in another tab. Do you have any possible solutions for this? Is it just a SharePoint thing?

  • mrDiaz Profile Picture
    7 on at

    forumLaunch.JPG

  • NEhaTripathi Profile Picture
    6 on at

    Hi,

    Please add :-

    Launch(" https://tenant.sharepoint.com/sites/sitename/SitePages/Pagename.aspx",{ q: "PowerApps"}, LaunchTarget.Replace)at OnSelect property of Submit button. You can add this with SubmitForm(NewForm);Launch(" https://tenant.sharepoint.com/sites/sitename/SitePages/Pagename.aspx",{ q: "PowerApps"}, LaunchTarget.Replace)to submit and launch the page again.

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard