on 2025 Jul 21 9:16 AM
I have the following problem: I want to get a notification in my story both in the SAC and by mail when I click on a button (function onclick() ).
Here is my code:
var user_info = Application.getUserInfo();
KR
Dominik
Request clarification before answering.
Hello @DomiK,
Your code has too much double quotes. Additionally with a isSendMail: false you'll never receive an e-mail. The following code works fine for me and I receive an e-mail:
var user = Application.getUserInfo().id;
Application.sendNotification(
{
title: "Test",
content: "This is a journey into test",
isSendEmail: true,
mode: ApplicationMode.Present,
receivers: [user]
}
);Best regards
Lothar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.