SetTemplateFileName
This function set name for file generated from template.
Syntax
SetTemplateFileName("templateName","fileName");
Function arguments
- templateName – (String) Name of the template for which resulting file name will be set.
- fileName – (String) Name of the file that will be generated from template
Return value
This function returns Boolean.
Returns true.
Examples
Example 1:
The name of the file created from envelope.docx template will contain value form Client field.
SetTemplateFileName("envelope.docx","envelope_"+[Client]+".docx");