You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,9 @@ alert.notify({
46
46
});
47
47
```
48
48
49
+
***priority** - Priority of the notification, this argument is optional, it defaults to NEUTRAL
50
+
***description** - Subtitle for the notification, this argument is optional
51
+
49
52
## Use Notification Types
50
53
51
54
### 1. Add notification types
@@ -102,7 +105,7 @@ In local environment, when you publish notification, it is mocked to publish the
102
105
103
106
#### Notification Destination
104
107
105
-
As a pre-requisite to publish the notification, you need to have a [destination](https://help.sap.com/docs/build-work-zone-standard-edition/sap-build-work-zone-standard-edition/enabling-notifications-for-custom-apps-on-sap-btp-cloud-foundry#configure-the-destination-to-the-notifications-service) configured to publish the notification. In the `package.json` by default destination name `SAP_Notification` is added, you can modify the destination name that you are configuring.
108
+
As a pre-requisite to publish the notification, you need to have a [destination](https://help.sap.com/docs/build-work-zone-standard-edition/sap-build-work-zone-standard-edition/enabling-notifications-for-custom-apps-on-sap-btp-cloud-foundry#configure-the-destination-to-the-notifications-service) configured to publish the notification. In the `package.json` by default destination name `SAP_Notifications` is added, you can modify the destination name that you are configuring.
106
109
107
110
#### Integrate with SAP Build Work Zone
108
111
@@ -128,12 +131,12 @@ You can use these two signature to send the custom notification with pre-defined
128
131
129
132
#### With pre-defined parameters
130
133
131
-
By using this approach you can post a notification by providing different parts of the notification object grouped in related units
134
+
By using this approach you can send notifications with the predefined parameters - recipients, data, priority, type and other parameters listed in the [API documentation](https://help.sap.com/docs/build-work-zone-standard-edition/sap-build-work-zone-standard-edition/developing-cloud-foundry-applications-with-notifications)
0 commit comments