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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to open the SP New...
Power Apps
Unanswered

How to open the SP New form in the same Tab using Launch Method

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all,

 

I have a button in Powerapps Screen, when I click that button, it should redirect to the SP List New Form.

 

for that I am using the below formula in the OnSelect event of the Button. in my case it's opening in the new tab but I want to open it in the same window. is there any solution to open it in the same window?

 

Launch("https://TestEnv.Sharepoint.com/sites/TestSite/Lists/TargetList/NewForm.aspx?Source=https://TestEnv.Sharepoint.com/sites/TestSite/Lists/SourceList/DispForm.aspx?ID=1)

 

Thanks in Advance!

 

 

 

 

Categories:
  • DylanSimons Profile Picture
    326 on at

    Please see the Launch Document.

     

    If you would like to launch that URL in the same tab in your browser(replace the Power App tab) if would look like this:

    Launch("Your Sharepoint URL", {}, LaunchTarget.Replace)
  • mdevaney Profile Picture
    29,993 Moderator on at

    @Anonymous 

    You can do it like this.

    Launch("https://TestEnv.Sharepoint.com/sites/TestSite/Lists/TargetList/NewForm.aspx?", {Source: "https://TestEnv.Sharepoint.com/sites/TestSite/Lists/SourceList/DispForm.aspx", ID: 1}, LaunchTarget.Self)

     

    Link to LAUNCH function documentation

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-param

     

    ---
    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."

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Dylan,

     

    After changing the Launch Target to Replace, when i click the button nothing happens

  • DylanSimons Profile Picture
    326 on at

    @Anonymous, it will not work in the PowerApp studio. Once you publish the app it will work as expected.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Dylon,

     

    I am using powerapps in Web, After Publishing it also, nothing happens. any clue?

  • mdevaney Profile Picture
    29,993 Moderator on at

    @Anonymous 

    Agreed.  Publish the app and open the app in Play Mode.

     

  • mdevaney Profile Picture
    29,993 Moderator on at

    Open the app in Play Mode.  Close Power Apps Studio.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @mdevaney , @DylanSimons 

     

    I found the below link, in that they mentioned LaunchTarget. Replace is in Development, so it will not work. Is it True?

     

    https://powerusers.microsoft.com/t5/Building-Power-Apps/LaunchTarget-Replace-not-working-on-Desktop-Teams/td-p/688430

  • DylanSimons Profile Picture
    326 on at

    @Anonymous, unfortunately it is true: the note is in those documents linked above:

     


    The LaunchTarget argument is currently in Preview and will be released in all regions soon. For more details about preview features, go to Understand experimental, preview, and deprecated features in Power Apps.

    You can check to make sure your Preview Features are turned on if you go to File > Settings > Advanced Settings > Preview Features.

     

    Aside from that, I do not see any way to make this work until Microsoft fully releases this feature.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Anonymous @DylanSimons @mdevaney 

     

    Any updates to this problem? I'm back a year later and my PowerApp button still opens in a different tab. I am hearing it may be because I am uploading the PowerApp to SharePoint.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 320

#3
Mohsin Ali Profile Picture

Mohsin Ali 246

Last 30 days Overall leaderboard