File Uploads

Incorporate file uploads into your Word documents by adding their variable names like any other variable: {{ FileUploadVariable }}. That way, any file that is uploaded in response to your file upload variable will be copied directly into your document when the document is generated.

Limit the size in which the file upload appears in your document by setting a size, like this.  The following is 1 inch:

{{ FileUploadVariable.show(width="1in") }}

To display only the name of the file in a document, you can use the following:

{{ my_file[0].filename }}