[Pushwoosh Plugin] Dynamic content values

[Pushwoosh Plugin] Dynamic content values

  
Forge Component
(9)
Published on 26 Jul (4 weeks ago) by OutSystems R&D
9 votes
Published on 26 Jul (4 weeks ago) by OutSystems R&D

How can I set what the value of the dynamic content tags (e.g. name, age, etc.) should be per device?

Solution

try {    plugins.pushNotification.setTags({'PhoneNumber':$parameters.PhoneNumber,'CardNumber':$parameters.CardNumber});

    $parameters.Success = true;

}

catch(e) {

    $parameters.Success = false;

}

Solution

Addition, you can add UserId:

try {
    plugins.pushNotification.setUserId($parameters.VAT);
    $parameters.Success = true;
}
catch(e) {
    $parameters.Success = false;
}

Perfect, thanks.