Jump to: navigation, search

Difference between revisions of "UBIK PUSH"


(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...")
(No difference)

Revision as of 12:48, 18 October 2024

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; }
   }