PowerApps notify function- How to use

In this PowerApps tutorial, we will discuss how to use PowerApps notify function. I will show you how to use PowerApps notify function with syntax and examples.

By using PowerApps we can build App easily and we will see here how to use PowerApps notify function to display alerts and notifications in the Apps.

PowerApps notify function

What is PowerApps notify function? PowerApps Notify is a function we can use to show an alert message on top of the PowerApps screen. We can display notifications like Error, Information, Success, and Warning.

PowerApps notify function
PowerApps notify function

Types of Alert or notification

Below are the types of notifications or alerts we can show in PowerApps App.

NotificationType ArgumentDescription
NotificationType.ErrorDisplays the message as an error.
NotificationType.Information (Default)Displays the message as informational.
NotificationType.SuccessDisplays the message as success.
NotificationType.WarningDisplays the message as a warning.

PowerApps Notify Syntax

Notify( Message [, NotificationType [ , Timeout ] ] )
  • Message: In message you have to provide your text which you want to display.
  • NotificationType: Here you need to provide the type of messages like success, error, information, or warning.
  • Timeout: This is an optional field. You can set the timeout which will close some interval of time.

PowerApps notify function example

Now let us check a PowerApps notify function example. We will take a few buttons in the PowerApps screen and on click of the button, we will display the notification.

Step 1: Login to the PowerApps and create a canvas app.

Step 2: In your screen, drag and drop five button which will display the different type of message.

PowerApps notify function

Step 3: Next add your formula in button OnSelect function.

PowerApps notify function example

In same way you have to apply your formula for other four buttons.

Notify("Success",NotificationType.Success)

Notify("Failed",NotificationType.Error)

Notify("Information",NotificationType.Information)

Notify("Warning",NotificationType.Warning)

Step 4: Next save your page and debug it to see the output.

For Information:

You can see the below screen, the notification is appearing as an Information.

PowerApps notify information
PowerApps notify information

For Success:

Below screen you can see a success message in the PowerApps screen.

PowerApps notify success
PowerApps notify success

For Failed:

Below PowerApps screen, you can see it displays a Failed message.

PowerApps notify failed
PowerApps notify failed

For Warning

You can see a warning message in the PowerApps screen.

PowerApps notify warning
PowerApps notify warning

You can also set Timeout in your formula to close the message automatically after some interval.

Notify("Success",NotificationType.Success , 2000)

Notify("Failed",NotificationType.Error , 2000)

Notify("Information",NotificationType.Information , 2000)

Notify("Warning",NotificationType.Warning , 2000)

You may like following PowerApps tutorials:

In this tutorial, we learned how to display alerts and notification in PowerApps. Also, we discussed, how to use PowerApps Notify function with examples.

Donwload Hub site pdf

Download SharePoint Online Tutorial PDF FREE!

Get update on Webinars, video tutorials, training courses etc.

>