Creating global variables and data types
You can create global variables in the document properties of Document Management Word Add-In settings. Use the variables in the Document Management Document Properties to manage (addition/deletion) of global variables. These are the variable types:
- String, Number, and Boolean Variables: Basic data types used for holding values.
- Arrays: You can declare a String array [“Hello”,”World”], Boolean [true,false] or Integer [1, 2, 5]. However, currently there is no functionality for arrays and will be introduced in the future updates.
In the IDM Content Source there is a new tab called Variables. Use the button to update any changes in the Document Properties. Variables can be inserted directly into the document, by right-clicking on a variable and using Insert as Variable option. When a variable is inserted, the variable value is displayed in the generated document, but the variable name appears in the template. For each variable, The Value Xpath in Selected Control Properties will be empty and if we insert any xpath, it is ignored.