Smart Buttons

Creating Scripts

Smart Buttons scripts are created and modified using the Smart Buttons Editor.

To create a Smart Button script:

  1. Click the Smart Buttons icon to open the Smart Buttons panel.

  2. Click the Add icon to open the Smart Buttons Editor.

  3. In Button name, enter the name of the Smart Button that will display in your Smart Buttons Library.

    Tip! If applicable, you can modify an existing button from your library or from the Travelport Smart Buttons Library, which is included in the Smartpoint installation.

  4. Optional. In Button description, enter a description that displays when you hover over the button in the Smart Buttons Library.

  5. Optional. In Quick command, enter a QuickCommand shortcut to launch the Smart Button.

  6. Select the level of complexity for you scripting. The Smart Buttons Editor has two levels of complexity for building scripts:

    • Click (Advanced GDS Command Helper (Easy Mode) to create scripts using the Easy Mode.

      Easy Mode is used to for build interfaces for less complex scripts. Variables are not supported in Easy Mode.

    • Standard Mode to create more complex features and controls.

      Standard Mode is the default mode for the Smart Buttons editor. In this mode you can use variables, such as If Then Else conditions, and many more controls that allows you to build different kinds of workflows.

  7. Build a script in either Standard Mode or Easy Mode by adding control to create prompts and perform tasks. Most controls offer the option of either:

    • Using an intuitive XML Generator to create the script.

      Tip! You can also use the Question Block Designer to group multiple prompts together on one screen.

    • Entering the XML elements for the script directly into the Smart Buttons Editor.

      Copy
      <ButtonConf ButtonName="Company name ." Description="" QuickCommand="">
      <TextBox Watermark="" VarName="CompanyName" Question="What is the Company Name?" Width="80" ToolTip="" />
      <RunCommand>DI.FT-[CompanyName]</RunCommand>
      </ButtonConf>

    To help build scripts, you can:

  8. After a button is complete, you can create triggers to set rules for when a button is launched and which actions occur after launch.