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");
Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.