Hi,
We have a requirement to send an email to a user onClick of their name in a table within an Analytics Designer application (can use userID if necessary).
I have seen various posts and articles around the Application.sendNotification() API, but so far have been unable to get it to work onClick of a button (small POC dashboard).
Example code:
Application.sendNotification({
"title": "notification title",
"content": "notification content",
"receivers": ["MY_USER"],
"mode": ApplicationMode.View
});
Can anyone point me in the direction of a quick tutorial on using this API?
Any help much appreciated,
David
Request clarification before answering.
Hello davelee9,
You can refer this wonderful blog that takes you through all the steps required for app based scheduling click based setup in SAC:
How to schedule an analytic application for publication in SAP Analytics Cloud ?
Beside you can check SAP help document on the same as well. It goes over the AIP's you can use-
Schedule Publication for an Analytic Application
Viewers/ readers - If you find above information helpful, feel free to up-vote (arrows on left side).
Thanks,
Debjit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sending a mail with onClick() can be done with NavigationUtils.openUrl() and the mailto URL must be in unicode.
For example:
NavigationUtils.openUrl("mailto:[email protected]?subject=subject&body=body",true);
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.