0

Is there any way to exit powerapp and navigate to external site like sharepoint , currently it redirect me to powerapp home page using below exit() fucntion

Exit(launch("http://sharepoint.com"))
1
1

No, I don't think that will work.

Exit function in PowerApps

The Exit function exits the currently running app. The user is returned to the list of apps, where they can select another app to open.

Syntax

Exit()

And currently it only accepts one parameter, boolean value of logout.

Exit(Logout)

For example, Exit(true), which then would have the app automatically log out the current user and navigate to the login screen of PowerApps.

A workaround here is:

Add a launch function before the Exit(), specify the SharePoint Address within the Launch(), for example:

Launch("https://powerusers.microsoft.com");Exit(true)

This would open a new webpage of the SharePoint page, not the original one.

Source

5
  • If this answer helps you then please upvote and accept it as an answer so that it will help others in the future. Dec 26 '19 at 7:02
  • exit true land me on powerapp home page any possibilty to redirect to sharepoint page or any other external page
    – kumar
    Dec 26 '19 at 7:23
  • Kindly try the work around approach which I have mentioned in my answer Dec 26 '19 at 7:25
  • i tried above ,it open sharepoint site on new page and current page load to powerapp homepage
    – kumar
    Dec 26 '19 at 8:28
  • 1
    That's the only workaround available. That's how Microsoft has designed the functionality too. Dec 26 '19 at 8:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.