Changes

UBIK PUSH

855 bytes added, 18 October
Created page with "= UBIK PUSH = Ubik provides the possibility (since Version 4.8.1) to configure a default Push Mechanism. It can be configured and enabled for every UBIK object. If this object..."
= UBIK PUSH =
Ubik provides the possibility (since Version 4.8.1) to configure a default Push Mechanism.
It can be configured and enabled for every UBIK object. If this object gets saved, a push is sent for this object automatically.

== Push Item ==
To enable auto - push for an object you need to classify it with the [[SYSCLS_PUSH_ITEM]] Classification.
This classification is for the server implementation only. No additional property must be configured to be sent to the client.
The classification requires two things to be configured:
PUSH_SCENE: you need to add the PUSH_SCENE (link) Property to the item
You need to provide a method PushEnabled(). This method defines if push for the given object is enabled (true) or not.

public interface IPushObject : IBaseClass
{
bool PushEnabled();
PushScene PUSH_SCENE { get; }
}
1,579
edits