This question is locked. New answers and comments are not allowed.
Hi,
We are building an application where users can subscribe to notifications from a long list of "channels". When sending notifications, we only want to send to those who have subscribed to the particular channel.
We have modeled the channels as an array parameter, and sent this to the everlive backend to subscribe. E.g.:
The trouble is that we don't know how to create segments targeting these channels via the Telerik Platform UI, or the REST services.
When trying the Platform UI, it complains that the Parameters.channels segment is invalid.
Your documentation (http://docs.telerik.com/platform/backend-services/features/push-notifications/target-and-send-push) only mentioned targeting with "equals", "not equals", and not something like "contains" or "has".
We have also considered encoding the subscribed channels into a single field, e.g.
...but we don't know how to target, say, anyone where Parameters.channels *contains* a specific channel.
Do you have any suggestions?
We are building an application where users can subscribe to notifications from a long list of "channels". When sending notifications, we only want to send to those who have subscribed to the particular channel.
We have modeled the channels as an array parameter, and sent this to the everlive backend to subscribe. E.g.:
Parameters : {
channels: [
'channel1'
,
'channel26'
,
'channel99'
]
}
The trouble is that we don't know how to create segments targeting these channels via the Telerik Platform UI, or the REST services.
When trying the Platform UI, it complains that the Parameters.channels segment is invalid.
Your documentation (http://docs.telerik.com/platform/backend-services/features/push-notifications/target-and-send-push) only mentioned targeting with "equals", "not equals", and not something like "contains" or "has".
We have also considered encoding the subscribed channels into a single field, e.g.
Parameters : {
channels:
"channel1, channel25, channel101"
}
...but we don't know how to target, say, anyone where Parameters.channels *contains* a specific channel.
Do you have any suggestions?