Hello All,
If you need to show an alert message in your Power App, Use this component.
You can display the following four alert messages:
1) Confirmation
2) Error
3) Notification
4) Announcement
This component is straightforward to use with the following exposed properties:
1) Show Alert - Set the to conditional variable (true/false) , that will update when you like to display the alert.
2) Type: type of alert - Confirmation, Error, Notification, Announcement
3) Message: Alert message
4) Alert Location: top of the screen or bottom of the screen
5) Fill Color: Color them for each type of alert
6) Alert Duration: How long you like the alert to be visible
Regards,
Deepak S
Hi, I know I am being a bit dense here, but how do you call the component (for example, what would you add to a Button OnSelect or a form OnSuccess in order to display the notification? TIA
Hello there,
You can use it as follow set your component.ShowAlert(variablename) and then in your OnSuccess you would add this code:
UpdateContext({variablename:false});UpdateContext({variablename:true})
The reason that you first set it to false and after to true to ensure the alert component start properly.
I Hope that helps.
Kind Regards
Dan