Welcome
Login
Sign up
Home
Solutions
Forums
How can we help you today?
Enter your search term here...
Search
Login
or
Signup
to submit a new ticket
Check ticket status
Start a new topic
Discussions
Kinvey Forums
Business Logic
Send push to users with specific entityId
B
Borna Beaković
started a topic
over 7 years ago
Hi all, I need help. How can I send push notifications to user with specific id ?
I tried to put "entityId", "id", "_id" in query but none of this works.
var userCollection = modules.collectionAccess.collection('user');
userCollection.find ( {"entityId":"111122223333"} , function (err, userColl) {
}
Appreciate your help
Borna
1 Comment
B
Borna Beaković
said
over 7 years ago
i found my answer here,
http://support.kinvey.com/hc/communities/public/questions/200370347-How-to-get-user-from-custom-endpoint-to-push-him-a-notification?locale=en-us
You can close the thread, thank you
Login
or
Signup
to post a comment
More topics in
Business Logic
How do I access query string values for GET and DELETE requests?
Basic Authentication in Business Logic
How do I cascade delete entities from related collections?
All BL failing with Violation Error
How do I send push notifications?
Whenever I try to query by _id, I get zero results
receiving SOCKETTIMEDOUT when requesting external http response
Unique Constraints on a collection column?
Need some help with grouping
Accessing Endpoint from Collection Hook
See all 342 topics
Borna Beaković
I tried to put "entityId", "id", "_id" in query but none of this works.
var userCollection = modules.collectionAccess.collection('user');
userCollection.find ( {"entityId":"111122223333"} , function (err, userColl) {
}
Appreciate your help
Borna