Print

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");
Czy artykuł był pomocny?
0 na 5 gwiazdek
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
How Can We Improve This Article?