Adding an Edit Box

You can add an edit box to your customized card to let users view and enter specific types of values stored in the database.


Before you begin: Open an existing card or start a new card.
See Also
About Default Values
Entering a Default Value
Entering an Input Formula
Attributes Dialog Box
  1. Click Edit or select Edit > Mode > Edit.
  2. Click the card where you want to locate the edit box.
  3. In the Edit-box properties pane, do one of the following:
    • Select an attribute from the Attribute name list or click Attributes and select an attribute from the Attributes dialog box, which contains a table of the available attributes, their entry types, and default values.

      The edit box on the card reflects your attribute selection.

    • To have the edit-box control populated by a value generated by an add-in, click Controlled by add-in and specify the Add-in parameter that will be passed to the card.

      The edit box on the card remains blank.

      Note: The Default value and Input formula sections of the Edit-box properties pane, which are described in steps 6 and 7, are hidden if you select Controlled by add-in.
  4. Depending on the attribute you select, optionally, complete the Validation area as follows:
    1. Select the Min check box and enter a minimum value range.
    2. Select the Max check box and enter a maximum value range.
    For example, if Approved Date is your selected Attribute name, you could select the Min check box, use 12/1/2012 as the minimum approved date, select the Max check box, and use 1/1/2014 as the maximum approved date.

    Validation restricts the length for values.

  5. Optionally, select one or more of the Flags check boxes:
    1. Read-only to prevent users from entering values.
    2. Multiline to let users enter multiline text in the edit box.
    3. Update all configurations to update all file card configuration tabs with the value users enter in the edit box.
  6. Optionally, add user default values by choosing to:
    • Type a Default value, such as a text string.
    • Click to add a value from the menu tree, repeating the process until the Default value is complete.
    • Click to add values in the Default Value dialog box by typing a default value formula or clicking to select values from menu trees. (The Default Value dialog box provides a larger input area than Default value on the property pane.)

    Note: Any defaults that you add in Default value always override the default values set in the ENOVIA database.

    1. Select the Default overwrites check box if you want your Default value to overwrite an existing attribute value that users enter.
    2. In Excluded configurations, type the names of configurations that are to be excluded as default values for the edit box.

      Exclusion occurs when files are added to the database or when the addition of a new configuration generates default values.

      Type one configuration name per line.

      You can use * as a wildcard. For example, *magnet* excludes all configurations with "magnet" in the configuration name.

      Note: The system does not exclude configurations if users manually enter values, such as descriptions.

  7. Optionally, use Input formula by choosing to:
    • Type the formula directly into Input formula.
    • Click to add Attributes or Functions from a menu tree, until the entire input formula is complete.
    • Click to go to the Input Formula dialog box, where you have a bigger input field to add the formula either by typing or by clicking to select from menu trees.

    Use Input formula to populate the edit box control with values from variables linked to other controls on the data card.

Your customized card includes the edit box. If you entered input controls, the edit box is linked to attributes found in list controls included on your customized card.