Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
rohitchouhan
Participant
1,096
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.
Labels in this area