Skip to main content

Notifications

Community site session details

Community site session details

Session Id : k1vODPOhaHS9y6dI+kibNa
Power Apps - Building Power Apps
Unanswered

Using Launch function in powerapps

Like (0) ShareShare
ReportReport
Posted on 20 Jan 2021 09:43:30 by 14

Hi everyone

I have added a powerapp webpart on my site page and want to reload the page / open a page url in same window as my site page on sharepoint online site. I have used the launch function but am unable to achiebe so. Providing LaunchTarget.replace is not working at my end. Any headsup for this would be appreciated

Categories:
  • Mohandar Profile Picture
    74 on 21 Oct 2024 at 14:57:58
    Using Launch function in powerapps
    Hi,
    I am facing same issue now with launch function. I have component where I have back and home button which I used on app to go back to list or home site.
    when I am testing during development it is working fine but when app is published those two button does nothing.
     
    This same component is used on other apps and both buttons are working is there any recent changes causing this issue?
  • trongdaososad Profile Picture
    2 on 26 Jun 2024 at 06:32:21
    Re: Using Launch function in powerapps

    Sorry, Have you resolved this issue? Can you show me...

  • Spassler Profile Picture
    109 on 01 Jul 2021 at 17:42:29
    Re: Using Launch function in powerapps

    @shweta1223 ,

     

    Still have this issue? I'm getting the same exact thing... I even tried adding the listID, viewID parameters and all of them give this same error as you stated:

     

    "The frame attempting navigation of the top-level window is sandboxed, but the flag of 'allow-top-navigation' or 'allow-top-navigation-by-user-activation' is not set."

  • shweta1223 Profile Picture
    14 on 20 Jan 2021 at 11:43:47
    Re: Using Launch function in powerapps

    No, am getting the above error in console

  • eka24 Profile Picture
    20,921 on 20 Jan 2021 at 11:41:57
    Re: Using Launch function in powerapps

    is it now working?

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • shweta1223 Profile Picture
    14 on 20 Jan 2021 at 11:00:22
    Re: Using Launch function in powerapps

    I did publish the app and am trying with the same codeb ut console shows me the following error

    The frame attempting navigation of the top-level window is sandboxed, but the flag of 'allow-top-navigation' or 'allow-top-navigation-by-user-activation' is not set.

    I have added powerapps on a site page using app id.

  • eka24 Profile Picture
    20,921 on 20 Jan 2021 at 10:53:17
    Re: Using Launch function in powerapps

    Your code seems fine. I just tested with:

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

    Do you get errors in your code? if not then save and publish the App to see if there would be any difference

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • shweta1223 Profile Picture
    14 on 20 Jan 2021 at 10:08:55
    Re: Using Launch function in powerapps
    Launch(
    "link to page",{},
    LaunchTarget.Replace
    ),
  • eka24 Profile Picture
    20,921 on 20 Jan 2021 at 09:45:36
    Re: Using Launch function in powerapps

    Can you state the exact code you are using that is not working?

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard