/
5.21.4.3.5 - Dialog Formatting Options

5.21.4.3.5 - Dialog Formatting Options

This example exists to show you the different formatting options you can use when you create feedback messages or dialogue boxes in a script.

The code snippets below are what you would use to insert each message in to a script.

 

Info Notification

Service.AddMessage("notify-info")

Success Notification

Service.AddMessage("notify-success")

Warning Notification

Service.AddMessage("notify-warning")

Error Notification

Service.AddMessage("notify-error")

Message

Service.AddMessage("Info message")

Note: To create a dialogue box like this, simply enter the text you want to display within the brackets and quotation marks after the Service.AddMessage function

Service.AddMessage("Info message", "info")

Service.AddMessage("Success message", "success")

Service.AddMessage("Warning message", "warn")

Service.AddMessage("Error message", "error")