Cisco Cisco Collaboration Server Dynamic Content Adapter
DCA 2.01 Administration and Configuration Guide
About Extending the Script Environment 123
DCA Session and Participant Objects
Script access to the DCA's Session and Participant objects is limited. You can access
these objects on the server using the methods of RequestData. They are not
accessible in the client. The properties of the Session and Participant objects,
however, are available in the script environment on both the server and client.
these objects on the server using the methods of RequestData. They are not
accessible in the client. The properties of the Session and Participant objects,
however, are available in the script environment on both the server and client.
The script properties DCA sets by default are described below. The
isConsoleSession
isConsoleSession
, navigator, and role values for active sessions/participants are
viewable in the Admin Tool.
Property Description
Values
isConsoleSession
Whether the session is using the
DCA Collaboration Toolbar.
DCA Collaboration Toolbar.
true, false, undefined
isMultiAgent
Whether the user is multi-session
capable. Non-multi-session-capable
users can only be in one session at
a time.
a time.
true, false
navigator
Current User-Agent header for the
session
role
DCA user's role, as defined in the
toolbar_config.xml file.
toolbar_config.xml file.
agent, caller, peer
DCA script properties objects are of the type java.util.Properties (or a subclass)
and should be accessed through that API. They include:
and should be accessed through that API. They include:
• scriptProperties: Session-specific script properties. Some session properties are
script-visible, some are not.
• participantProperties: Per-participant properties.
• participantSessionProperties: Participant per-session properties. Useful only to
multi-session participants.
• requestScriptProperties: Additional script properties provided as request
parameters. Additional properties may be specified by adding the parameter
"dcaScriptVars" to a request with a value of a ':' delimited string of name/value
pairs.
"dcaScriptVars" to a request with a value of a ':' delimited string of name/value
pairs.
See Also
For related information, see:
About the Parsing Engine
About Parser Scripts
About the Parser Script Environment
About Parser Scripts
About the Parser Script Environment