Configuration Expressions

Depending on the configuration option where it is used, VBScript is available for configuration expressions to either calculate a value (file name, folder, property value, and so on) or to evaluate to True or False to apply an option (input required, field visibility, field read-only, and so on). You can use VBScript expressions in many places in a vault's configuration, including:

  • Property pages

  • Document naming

  • Folder naming

  • Lookup list tables and database queries

  • Custom commands

  • Workflow definitions

  • Reports

  • Document types

  • Database Import Wizard

Each configuration expression is a single VBScript statement to be evaluated. Configuration expressions are limited in that they:

  • Cannot contain more than one line of code, although they can call a predefined function that contains multiple lines of code.

  • Cannot use variables.

  • Should not execute other actions outside the scope of the current document, change property values, invoke long-running functions, or invoke any user interface functions. Such actions can have unexpected or unpredictable results.

You can use a VBScript expression anywhere you see the Meridian Enterprise Script Editor button A button that has the text f(x). in Configurator. Clicking the button opens the Meridian Enterprise Script Editor where you can enter a VBScript expression. For information about using the Meridian Enterprise Script Editor, see Understanding the Meridian Enterprise Script Editor.

2021 R2