Custom Variables

From ThinManager Knowledge Base
Jump to: navigation, search

ThinManager 8.1 adds Custom Variables that can be applied to a Terminal, Location, or User. The Custom Variable can be used in the Display Client command line or by the TermMon ActiveX.

Contents

For instructions with pictures see Custom Variables.pdf

Creating the Variable

Terminals

The Custom Variable is defined on the Terminal Description page of the Terminal Configuration Wizard. Open the Terminal Configuration Wizard and select the Description button on the first page, the Terminal Name page. This will launch the Terminal Description window.

Terminal Description Window
  • Select the Add button to launch the Custom Variable window and add a custom variable.
  • Enter a Name for the variable and a Value for it and select the OK button to close and accept.
  • The Hide Value checkbox will obscure the value to keep it private.

Once defined the custom variable will be displayed in the Custom Variables field of the Terminal Description window.

  • The Delete button will delete a highlighted custom variable.
  • The Edit button will open the Custom Variable window with that custom variable loaded to allow editing.

Locations

The Custom Variable is defined on the Location Name page of the Location Configuration Wizard. Open the Location Configuration Wizard and select the Description button on the first page, the Location Name page. This will launch the Location Description window.

Location Description Window
  • Select the Add button to launch the Custom Variable window and add a custom variable.
  • Enter a Name for the variable and a Value for it and select the OK button to close and accept.
  • The Hide Value checkbox will obscure the value to keep it private.

Once defined the custom variable will be displayed in the Custom Variables field of the Location Description window.

  • The Delete button will delete a highlighted custom variable.
  • The Edit button will open the Custom Variable window with that custom variable loaded to allow editing.

Users

The Custom Variable is defined on the TermSecure User Information page of the TermSecure User Configuration Wizard. Open the TermSecure User Configuration Wizard and select the Customize button on the first page, the TermSecure User Information page. This will launch the User =====Description window.===== Select the Add button to launch the Custom Variable window and add a custom variable as shown with the Terminal.

User Description Window
  • Select the Add button to launch the Custom Variable window and add a custom variable.
  • Enter a Name for the variable and a Value for it and select the OK button to close and accept.
  • The Hide Value checkbox will obscure the value to keep it private.

Once defined the custom variable will be displayed in the Custom Variables field of the User Description window.

  • The Delete button will delete a highlighted custom variable.
  • The Edit button will open the Custom Variable window with that custom variable loaded to allow editing.

Using the Variable

The custom variables are referenced by #variablename# just like the ThinManager Specific Environment Variables. The pre-defined Environment Variables include:

#TERMINALNAME# - Name of the terminal

#MODEL# - Model of the terminal

#WINDOWSUSERNAME# - Windows username for Display Client

#TERMSECUREUSERNAME# - TermSecure username for the logged in user

#DISPLAYCLIENTNAME# - Display Client name

#LOCATIONNAME# - Relevance Location name

TermMon ActiveX Usage

The Custom Variable can be used by the TermMon ActiveX to pass the custom variable data to your application. Embed the TermMon ActiveX in your application.

GetCustomVariable is the TermMon ActiveX method that can be used to retrieve a custom variable. This method requires one parameter, the name of the custom variable. This method returns the result of the query as follows:

ActiveXName.GetCustomVariable (“Custom Variable”) will populate the CustomVariableValue property.

See the Knowledge Base article at http://thinmanager.com/kb/index.php/TermMon_ActiveX_Control.

Display Client Usage

The Custom Variable can be used in the command line to pass specific data to the session.

Personal tools
Namespaces

Variants
Actions
Navigation
Events
Toolbox