Document Form, Constants Page
|

Click the ScriptConstantsAdd icon at the bottom of the page. This will give you the option to remove the current constants and add new ones from the Script code.

Documents, Constants

Document Constants grid

Unlike other grids, you cannot amend the columns available.

ColumnDescription
NameThe Name of the Constant.
TypeThe Type of Constant.
ValueThe value of the Constant.
EncryptThe checkbox will show as:
Checkbox ticked ticked if the document code is Encrypted and
Checkbox unticked unticked if the document code is not Encrypted.
NotesAdditional notes relating to the constant.

Button Strip

IconDescription
Grid Row Insert
Insert a row before the current row.
Grid Row Delete
Delete selected row.
List Bullets
If a list is linked to the Constant, you will be able to click the button which will enable you to edit the options available in a dropdown list.
Grid Row Up Button
Move the current row up (Ctrl+Up).
Grid Row Down Button
Move the current row down (Ctrl+Down).
ScriptConstantsAdd
Add Constants as defined by the GetConstants sub in the Document Script.
Import Button
Import Constants from a file.
Export
Export Constants to a file.

Constants are only applicable if they have been added to the document.