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
Sorry, Have you resolved this issue? Can you show me...
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."
No, am getting the above error in console
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.
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.
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.
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.
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional