Scripting

Scripting for log in (explained)

You can use scripting to control parts or all of the XProtect Smart Client login procedure.

Examples:

  • If using Basic authentication or Windows authentication, you can make the XProtect Smart Client login window open with a pre-filled server address and user name fields so users only have to enter a password to log in.
  • If using Windows authentication (current user), you can make the XProtect Smart Client connect to the surveillance system automatically, based on the user's current Windows login.

Some authentication methods are only available if the XProtect Smart Client user logs in to certain Milestone surveillance systems.

For information about the features available in your XProtect VMS, see Surveillance system differences.

Scripting for log in - parameters

You can use these parameters:

ServerAddress

Refers to the URL of the server to which XProtect Smart Client connects.

For XProtect Corporate, XProtect Expert, XProtect Professional+, XProtect Express+, and XProtect Essential+, this is the URL of the management server.
For XProtect Professional, or XProtect Express it is the URL of the image server.

The following example shows the XProtect Smart Client login window with http://ourserver in the Server address field:

Client.exe -ServerAddress="http://ourserver"

The default authentication type is Windows authentication (current user). Unless you change this, using the AuthenticationType parameter (described in the following section), the login window automatically displays the current Windows user in the User name field.

Scripting HTML page for navigation

In addition to displaying video, the XProtect Smart Client is able to display static images and HTML pages. Such HTML pages may be used for switching between different views.

For example, you may insert a clickable floor plan of a building, and you would be able to simply click a part of the floor plan to instantly switch to a view displaying video from the required part of the building.

In the following, you will see examples of HTML pages for XProtect Smart Client navigation:

  • A simple HTML page with buttons
  • A more advanced HTML page with a clickable image map
  • A check list for system administrators outlining the tasks involved in creating and distributing HTML pages to XProtect Smart Client operators