Specifying an Automatic Value for a Property
- Open M-Files Admin.
- In the left-side tree view, expand a connection to M-Files server.
- Expand Document Vaults.
- Expand a vault.
-
Expand Metadata Structure (Flat View) and then select Property
Definitions.
Result:The Property Definitions list is opened in the right pane.
-
Double-click the property definition that you want to edit.
Result:The Property Definition Properties dialog is opened.
-
Go to the Automatic Values tab, and select one of the following:
If you want to Do the following Specify automatic incremental numbering for a property. Select the Simple automatic numbering option, and specify the size of the increment for each new value in the Increment field. Specify for a property customized automatic numbering using VBScript. Select the Customized automatic numbering (VBScript) option, and click Edit Code... to add the code for automatic numbering. Note: For more information, see Specifying an Automatic Property Value Using VBScript.Specify a combination of text and property placeholders as an automatic property value. Select the Simple concatenation of properties option, and enter the combination of text and property placeholders in the text field. You can add property placeholders by clicking the Add Placeholder... button. Note: For more information on placeholders, see Simple concatenation of properties.Specify for a property an automatic calculated value using VBScript. Select the Calculated value (VBScript) option, and click Edit Code... to add the code for calculating the property value. Note: For more information, see Specifying an Automatic Property Value Using VBScript. - Optional: In the Last value used field, enter the starting value for automatic numbering if you want to use some other value than the default zero (0).
-
In the Calculation order field, enter the number that determines the order
in which this automatic value is calculated in relation to other automatic values. The smaller the
number, the earlier the calculation order.
For more information, see Calculation order.
- Click OK to save your changes and close the Property Definition Properties dialog.