Symptom
The default email server doesn't work with the sendNotification API in analytical applications, which stopping notifications from reaching viewers.
Environment
SAP ANALYTICS CLOUD
Reproducing the Issue
- Create Analytic application
- Add button that will trigger the email notification
- Link the bellow code to the button:
Application.sendNotification({
title: string,
content?: string,
receivers?: string[], // default: current user
mode?: ApplicationMode, // default: Present
parameters?: UrlParameter[], // array, no optional single URL parameter
isSendEmail?: boolean, // default: false
IsSendMobileNotification?: boolean // default: false
});
-> No emails are sent.
Cause
With the default notification configuration, the Application sendNotification API only functions in the onInitialization script when the application is run on a schedule, this is by design.
Resolution
To enable sendNotification in a button script, configuring your own notification email server is necessary.
See Also
- sendNotification API
- Configure Email Server documentation.
- Analytics Designer send email
- 2569847 - Where can you find SAC user assistance (help) to use, configure, and operate it more effectively?
- Have a question? Ask it here and let our amazing SAP community help! Or reply and share your knowledge!
- 2487011 - What information do I need to provide when opening an incident for SAP Analytics Cloud?
- 2511489 - Troubleshooting performance issues in SAP Analytics Cloud
- Search for SAP Analytics Cloud content using Google or Bing:
- https://www.google.ca/search?q=site%3Ahttps%3A%2F%2Fapps.support.sap.com+SAP+Analytics+Cloud
- https://www.bing.com/search?q=site%3Ahttps%3A%2F%2Fapps.support.sap.com+SAP+Analytics+Cloud
- Note: Add relevant text or warning/error messages to the text search field to filter results.
- SAP Analytics Cloud Connection Guide
- Getting Started with SAP Analytics Cloud Expert Community page
- SAP Analytics Cloud Get More Help and SAP Support
- Need More Help? Contact Support or visit the solution finder today!
Keywords