As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
I think I am also facing this issue. Did you get any proper solution?
Any suggestion ?
Hi,
Please provide some more details regarding what errors you are getting?
Thanks,
Pranav
rameshrangarajan
I have written some push notification code in my onPostsave() collection hook. However, I do not see the push message appearing on the user's device.
Here is my code -:
var push = modules.push, collectionAccess = modules.collectionAccess, logger = modules.logger;
var userCollection = collectionAccess.collection('Users');
var body = request.body;
var query = {"username": "amol"};
userCollection.find(query, function (err, userColl) {
if (err) {
logger.error('Query failed: '+ err);
} else {
userColl.forEach(function (user) {
logger.info('Pushing message to ' + user.username);
push.send(user, "New notes for tag(s): ");
});
}
response.continue();
});
In the above code, I am querying the collection "Users" for the "username" as "amol" and then sending a push notification to his device.
Now, in this "Users" collection, there is a column called "_push" and only for this user "amol", there is a device token seen in this column. However, the push notification fails to appear on the device of this user "amol".
Please help. Any help would be highly appreciated.
Thanks,
Ramesh