Skip to Content
Technical Articles
Author's profile photo Rohit Chouhan (Deloitte)

SweetNotification: A Custom Widget for SAP Analytics Cloud Cool Notification

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.

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.