How to show a custom confirmation message when user exit a PowerApps Canvas app

So I am back with another blog on PowerApps. And this is yet another blog for a query I received from one of the blog readers.

Canvas apps have virtually closed out the gap between pro and citizen developers in terms of application development. Whenever we talk of Power platform components, I find it’s the canvas apps which makes heads turn always.

With so many users embracing the platform, it’s quite obvious that request galore. And one such request is to show a custom confirmation message to user when he choses to exit the app.

In PowerApps player on your mobile devices, when you try to navigate away from your app, you get the following confirmation message – “Close this App?

Confirmation message on exit of Power apps canvas app

It’s the default message. But what if you want to show a custom confirmation message?

It’s actually very easy. There is in-fact a property for the APP – “Confirm exit

It is set to off by default. All you need to do is set it to on and then provide your custom message in Confirm exit message property.

Once the changes are published, the below behavior is observed.

Confirmation message on exit of Power apps canvas app

That’s quite easy especially if you are aware of this property.

Hope this helped!

Debajit Dutta
Business Solutions MVP


Discover more from Debajit's Power Apps & Dynamics 365 Blog

Subscribe to get the latest posts sent to your email.

Discover more from Debajit's Power Apps & Dynamics 365 Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading