Notify Methods

This method helps to trigger a custom notification based on your requirements. You can customize your content using the following code:

Sample Request

CopiedZOHODESK.notify({
   title : "Notification",
   content : "This is a Notification—check it out!",
   icon:"failure",
   autoClose: false
});

The arguments of this method must be passed as an object containing the following attributes.

ParameterDescription
titleKey that describes the title of the notification. By default name format is <widget name> widget. Supported upto 255 characters.
content *Key that describes the text content inside the notification.
autoCloseKey that describes whether to Enable/disable notification auto-close. By default, autoClose value is true. Possible values are true or false (value must be string or boolean).
iconKey that defines the type of notification. By default, the value is failure. Possible values are success or failure.