Smart Buttons
Controls/XML Elements

Run Terminal Command <RunCommand>

RunCommand sends terminal (host) commands for Travelport+ (1G). It can be either simple command or command that contains variable.

Configuring

You can configure RunCommand in the Smart Buttons Editor using either the Terminal Command Editor or XML.

Configuring with the Terminal Command Editor

To configure with the Terminal Command Editor:

  1. Open the Smart Buttons Editor to create a script.

  2. Click Terminal Command <RunCommand> to display the Read from Excel Editor.

  3. Configure the attributes.

    Attribute

    Description

    Command

    Enter the terminal command to send to the host. Variables can be used as part of the command.

    Enter the variable in square brackets. For example: RI.Passenger name is [PaxName]

    Run standard command

    Runs a Smartpoint terminal command.

    If unselected, the command is sent native mode, which displays data directly from Travelport+ (1G). Native mode can be toggled in Smartpoint, or sent in individual commands with semicolon. For example: ALONNYC;

    Clear Screen Clears the screen before running a command.
    ResponseAll

    Opens all screens to the bottom.

    For example: Enter HMPR to display only the first screen, and the agent needs to move down. However, if the key is set as ResponseAll, the entire page is displayed and moved down.

    Run in new tab

    Opens a new window tab to run the command. Redirects host responses to specific windows/tabs.

    Agents can choose in which tab (Classic View) or window (Flex Windows) they want to see the response of host commands.

Configuring with XML

If you want to enter the XML code directly in the Smart Buttons Editor, use the following structure for the XML element.

Tip! You can add the XML code directly to the editor by dragging and dropping the blue button for this control.

Copy
<RunCommand ResponseAll="False" ShowInNewTab="False" 
WithoutRefreshPnr="True" ClearScreen="True" Command="" />

Attribute

Description

ResponseAll

True

False

ShowInNewTab

True

False

WithoutRefreshPnr

True

False

ClearScreen

True

False

Command

Enter the command you want to send. You may want to use variables in square brackets. For example: