Last modified on 30 March 2015, at 10:30

PushCriterionContext (Activity)

Adds a push criterion that restricts the push action only to clients that are consuming the configured Context.


[edit]

Description

PushCriterionContext
Name PushCriterionContext
Purpose Restrict push action to Context
Category UBIK Push
Returns true if successful
Version 2.4.2+

Arguments

Argument Type Direction Purpose
Context Context In The contextobject to which the push action should be restricted to; this argument is mutually exclusive with the argument ContextName
ContextName String In The name of the context to which the push action should be restricted to; this argument is mutually exclusive with the argument Context
Result Boolean Out True if successful, false if an error occurred

Usage

Use this criterion to restrict the hosting push action only to clients that are logged on to a specific Context. Clients consuming different contexts will not be notified about the push update.

Example

This example will send the hosting push action only to clients that are using CXT_DEMO

Argument Value
ContextName "CXT_DEMO"


See also