This function will set template for chosen field.


SetTemplate("fieldName", "templateName");

Function arguments

  • fieldName – (String) The name of the field .
  • templateName – (String) The name of the template, that you want to add to field .

Return value

This function returns Boolean.
This function always returns true.


Example 1:
This will add template 'template.docx’ to field 'UploadField’

SetTemplate("UploadField", "template.docx");
Czy artykuł był pomocny?
0 na 5 gwiazdek
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
How Can We Improve This Article?