The ContextManagementRegistry interface contains the Locate method. Use the method to locate CCOW components.
For example, to locate the context manager component:
var registryData = contextManagementRegistry.locate("CCOW.ContextManager", "1.5", null, clientUrl);
This method returns LocateData, which contains the following properties:
The ContextSession interface supports the following operations:
Activates a context manager so that it represents the active session for a point-of-use device.
Instructs the context manager to create a new context manager.
Note: A new session deactivates the current session, allowing users to share the same session.
To join a common context session, create a Context Manager object, and call the JoinCommonContext method.
Calling JoinCommonContext returns a participant coupon, which is an integer number assigned by the context manager to the application when the application joins a common context session. This coupon is subsequently used by the application to identify itself when it calls a context manager method that requires application identification.
Note: Setting survey to true when joining the common context means the application will participate in context change surveys. If survey is false, the application will only be informed when a context change has been accepted.
To suspend an active participation in a common context session while remaining registered as a participant, call the ContextManager.SuspendParticipation
To resume a suspended participation in a common context session, call the ContextManager.ResumeParticipation method.
To disconnect the application from the context session, call the ContextManager.LeaveCommonContext method.
Notes:
To Log off an application: To leave the common context session call the ContextManager.LeaveCommonContext method.
To Log off all applications (only valid if the signon was performed with SSO enabled): To log off all of the applications that signed onto the common context with SSO enabled, set a logon subject item in the common context with an empty value.
The ContextData class is used by applications to get/set the data items that comprise the common context.
The ContextData class contains the following methods:
Note: For secure data use the SecureContextData class instead.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET