Bookshelf Home | Contents | Index | PDF |
Siebel Object Interfaces Reference > Customizing Siebel Object Interfaces > Accessing a Siebel Object Interface > Accessing the Web Client Automation ServerThis topic describes how to access the Web Client Automation Server. NOTE: The Web Client Automation Server only works in high interactivity mode. In order for the Web Client Automation Server to accept requests from an external ActiveX control, the external control must provide a Session Random Number (SRN). If the Web Client Automation Server recognizes the SRN, then it executes the request. If the Web Client Automation Server does not recognize the SRN, the request is ignored. The SRN is unique to a single browser session, so it cannot be used indefinitely: once the user initiates a logout sequence, the SRN is no longer valid. Examples of Accessing the Web Client Automation ControlThis topic lists multiple examples relating to accessing the Web Client Automation Control. Example of Implementing SetSiebelToken on the External ActiveX ControlThe following example includes the code you use to implement SetSiebelToken on the external ActiveX control: NOTE: This is part of the source for the external ActiveX control. Public Sub SetSiebelToken(sSRN as String) Private Function GetSiebelToken() as String Example of Instantiating a New External ActiveX Control and Passing an SRNThe following example includes the code you use to instantiate a new external ActiveX control and pass an SRN: NOTE: This example uses Siebel browser script. var MyObject = new ActiveXObject("My.Control"); Example of Connecting to an Instantiated ActiveX Control and Passing an SRNThe following example includes the code you use to connect an existing instantiated ActiveX control and pass an SRN. NOTE: This example uses Siebel browser script. var MyObject = GetObject(, "My.Control"); Example of Accessing the Web Client Automation Control from the External ActiveX ControlFigure 5 includes the code you use to call the Siebel Web Client Automation Control from the external ActiveX control.
Explanation of CalloutsThe code includes the following callout: NOTE: SRN does not need to be explicitly added as an input property on a business service. It is implicitly available. |
Siebel Object Interfaces Reference | Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |