Run Mail Merge and Display
Use this system function to run a mail merge operation that consists of the first two variable sets in the XML file, and then display the results to the user. The resulting document is saved.
Parameters
- Template ID
-
Input, required. The document generation template to use. Use an already-downloaded template. Set the parameter to an applicable object from the object list.
- Data File ID
-
Input, required. The mail merge template to use. Set the parameter to an applicable object from the object list.
- Save
-
Input, required. An indicator of whether to save the results of the operation to a separate file. Set the parameter to <TRUE> or <FALSE>.
- Document ID
-
Input, required. The ID to assign to the resulting document. Set the parameter to an applicable object from the object list.
- Status
-
Output (string), required. The object to which to assign the code that indicates the success of the operation. Set the parameter to an applicable object from the object list.
Returns
This system function can return these values:
-
FAILED
Indicates the process was unsuccessful.
-
SUCCESS
Indicates the process completed normally.Download TemplateGet XML Data Model