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 / Confirm exit message
Power Apps
Answered

Confirm exit message

(0) ShareShare
ReportReport
Posted on by

Hi, I've found the need to place a confirm exit blocker in my powerapp. The only problem is that although I can switch it on and off, the message it says is uneditable - 

dialogue.PNG

Message.PNG

I've double checked it's the correct version that's running but no matter what it only uses the default text...

Anyone managed to get it working?

Categories:
I have the same question (1)
  • iAm_ManCat Profile Picture
    18,228 Most Valuable Professional on at

    Hi @Anonymous 

     

    Are you using the Exit() function?

    This message will only trigger if using this and when not inside the editor.

    If you try close the tab, the standard message from your browser will pop up (as per your picture)

     

    image.png

     

    Cheers,

    Sancho

  • Verified answer
    v-siky-msft Profile Picture
    on at

    Hi @Anonymous,

    The message you post is a generic message from the browser. If you run Exit() function or swipe to switch to a different app in Power Apps Mobile, the confirmation dialog box will appear.

    Please check the situation that PowerApps confirmation dialog box appears. Reference: ConfirmExit 

    • Running the Exit function.
    • If the app is running in a browser:
      • Closing the browser or the browser tab in which the app is running.
      • Selecting the browser's back button.
    • If the app is running in Power Apps Mobile (iOS or Android):
      • Running the Launch function.
        The Launch function doesn't trigger the dialog box in a browser because another tab opens so that data isn't lost.
      • Swiping to switch to a different app in Power Apps Mobile.
      • Selecting the back button on an Android device.

    Note: In a browser, the confirmation dialog box might appear with a generic message from the browser.

    Sik

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard