Previous Topic: gui_rcLaunch Command—Launch ViewerNext Topic: Remote Control Replayer


Pass Default Parameters to the RC Web Viewer Interface

You can pass default parameters into the web page of the RC Web Viewer interface through the URL, using the following format:

file://C:/Program%20Files/CA/DSM/bin/RCViewer.html?variable=value&variable=value

You can include the following variables:

ConnectType

Specifies the type of connection. The values are as follows:

0 = View

1 = Stealth View

2 = Shared Control

3 = Classroom

4 = Exclusive Control

5 = Secure Control

6 = Meeting

Default: 2 (Shared Control)

UserName

Defines the user name or URI with which to connect.

Password

Defines the password of the designated user.

Address

Defines the address to which to connect.

Protocol

Specifies the protocol to use for the connection.

Default: TCP

Connect

Indicates whether to connect immediately when the page loads. The values are Yes/No or True/False.

Example

file://C:/Program%20Files/CA/DSM/bin/RCViewer.html?Address=mytestcomputer&UserName=winnt://mytestcomputer/Administrator&Password=secret&Connect=yes

Note: The RCView.html web page is an example of how to integrate the viewer into web pages and applications using the RC ActiveX control. It is not intended for use in a production environment. The script performs the URL processing a script inside the web page. In a production environment, we recommend you use server-generated pages (for example, ASP) to populate the web page with default data.