When I (in a trigger) create a document form a template and save this to a "File-upload"-field the name of this field is copied from the template.
Is it possible to change the name of this document (without changing the document) or can we set some variables in the name of the template?
Hi,
New server-side API (will be available in 2.2) runTemplate() can be used to generate template’s output.
Then, you can set the file name using setBinaryFieldValue() server side API for the document which is in 'File Upload' field.