SetTemplateFileName
This function set name for file generated from template.
SetTemplateFileName("templateName","fileName");Function arguments
Dział zatytułowany „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
Dział zatytułowany „Return value”This function returns Boolean. Returns true.
Examples
Dział zatytułowany „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");