5. CimLayout: Variables

Procedure

  1. Select Variables in the left pane for the selected screen container.
  2. Do one of the following.
    • Click Edit>Add Item on the CimLayout Configuration Editor menu bar.
    • Right-click Variables; select Add Item on the Popup menu.
    • Right-click the right-pane; select Add Item on the Popup menu.

    An Add dialog box opens.

    1. Enter the following.
    Field Description
    Name Unique name.
    Value A variable value. Note: Click the Expression Editor button to enter the value in the Expression Editor.
    Type expression A variable is an expression type.
    Note: :
    • If you have assigned a value to a selected screen and that value is different from the value in the CimLayout Configuration Editor, the following will occur based on your configuration.
    The Screen The value assigned at the:
    Does not inherit values Screen level will display.
    Does inherit values Navigation Configuration Editor level will display.
    • If a child screen can inherit variables from the parent, all of the variable values that are listed in the Navigation Configuration Editor will be applied to all of the same variables on the screen. It is important to make sure that variables that should not be inherited are not listed with variables that should be inherited.
    Note: If the value on the screen must be unique, it is safer to make the variable name unique to that screen. That way there will never be a chance that the value will be inherited.
    • Duplicate variable names are not allowed.