The SweetNotification is a custom widget for SAP Analytics Cloud that provides users with a way to display custom notifications within their dashboards. The widget allows users to customize the appearance of the notifications, including the color, icon, and message displayed.

preview

Installation

To use this widget in your SAP application, follow these steps:

  • Download the SweetNotification.json file from the URLs specified in the webcomponents property of the JSON.
  • Go to your SAC Portal, select Analytic Application from the left side bar, and then go to the Custom Widget tab.
  • Click on the + icon on the right side and select the SweetNotification.json file that you downloaded.
  • You’re done! You can now use it in your app.

Methods

The widget has the following methods:

Set Methods

Method Parameter Type Description
showSuccess(success) string Success Notification
showError(error) string Error Notification
showInfo(info) string Info Notification
showWarning(warning) string Warning Notification

Conclusion

The SweetNotification custom widget provides SAP Analytics Cloud users with an easy way to display custom notifications within their dashboards. The widget is customizable and easy to integrate, making it a useful tool for users looking to enhance the user experience of their dashboards.

Sara Sampaio

Sara Sampaio

Author Since: March 10, 2022

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x