Display Notification Message
Display Notification - kintone.showNotification(type, message)
Displays a notification message at the top of the page.
Color-coded messages can be displayed according to the message type.
Function
Desktop
kintone.showNotification(type, message)
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| type | String | Yes | The type of NotificationUI.
|
| message | String | Yes | The text of the message to display in the A NotificationUI. |
Returns
A Promise object.
The following values can be retrieved when the Promise object is fulfilled.
Sample Request
|
|
Available Pages
Desktop
However, it cannot be used on the following pages:
- Search results
- Marketplace
- Plug-in settings page
Notes
- Messages do not automatically disappear after being displayed at the top of the page.
- Only one message can be displayed at a time, including those from Kintone itself. Only the most recently called message will be displayed.