Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Following the workflow of the user interface above, the process for creating a new validation rule is the following:

  • In InventoryManager:

  • Select the layer that the rule should act upon

    • Click on the desired layer in the dropdown list.

  • Define the criteria that must be met prior to applying the test.  In the example above, the test should only be applied if the field 'Contract_or_State' has a value equal to 'Contract'. If the field 'Contract_or_State' is null or has a value that is not equal to 'Contract', the test portion of the rule will not even be assessed. If a criteria is needed:

    • Enter the criteria value

    • Enter the text or number in the input.  If the criteria value is null, enter as 'Null' (without quotes).  If the value is coming from a field, enter in the field within curly brackets { } (e.g., '{Contract_or_State}' without the quotes

    • Select the criteria operator

  • Click on the desired operator in the dropdown list.

  • Select the criteria field.

  • Click on the field name in the selection box.  If more than one field is needed, click on the first field name, then hold CTRL and click on additional field names

  • If no criteria is needed because the test should always be applied (see examples 1, 2 and 6 above):

  • Uncheck the 'Include criteria' checkbox

  • Select the test inputs

  • Select the test field.

  • Click on the field name in the selection box.  If more than one field is needed, click on the first field name, then hold CTRL and click on additional field names

  • Select the test operator

  • Click on the desried operator in the dropdown list.

  • Select the error type

  • Select 'Error' or 'Warning' from the dropdown list

  • Enter the error (or warning) message to display to the user

  • Enter the full message that should be displayed to the user if the features does not pass the validation rule

...