Document Generation
Nintex external platform is required for this feature. For details, see Enable Nintex external platform features.
Generates one or more documents using selected templates, table data, and images.
The following document output formats are supported: .docx, .pptx, .xlsx, .pdf.
Note: Use lowercase letters for the file extension.
This action includes settings for Document Templates, Table Data, and Images.
Add and tag templates to dynamically generate documents based on workflow data. For more information, see Create templates.
Section |
Field |
Description |
---|---|---|
Document Templates | Generation type |
Format of the set of files generated by this action. Choose one of the following options.
|
Order | The sequence in which to include the templates in the generated output. | |
Document template |
Select or create new template: Displays the Select or create a document template dialog box for selecting an existing template or creating a new file. For more information, see Select or create new template dialog box. Note: The maximum file size limit for Document Generation templates is 20MB each. Templates exceeding this limit are not listed in the Document Generation action. |
|
|
Merge |
(Microsoft PowerPoint and Microsoft Excel only) When enabled, combines templates together. Only available for consecutive template with the same file type. |
|
Merge type |
(Microsoft Word only.) Combines templates together. Only available for consecutive template with the same file type. Choose one of the following options.
|
Include document template |
Decide whether or not to conditionally include the template. Choose one of the following options.
|
|
|
Open and tag |
Launches the Nintex Document Tagger. |
|
|
Option to edit the specific template. |
|
|
Option to delete the specific template. |
|
Output file name |
The file name of the indicated document to be generated by this action (corresponding to either a single template or to all templates). Output file name depends on Generation type and Merge type. For example, if you select Original file type for Generation type and No merge for Merge type, then 5 output file names are displayed. |
|
Add document template |
Displays selections for adding another template. |
Output |
Output location |
The location of all documents generated by this action. Choose one of the following options.
|
|
Output file URL |
The variable to store the URL location of all documents generated by this action. The required variable type depends on the number of documents to be generated. A text variable is required for a single document while a collection variable is required for multiple documents. |
|
Overwrite existing item |
When enabled, for each document generated by this action, overwrites the current document. When disabled and a document of the same name exists, date and time is applied to the end of the file name. |
Create tables containing collection variables to dynamically replicate rows, tables, and sections. For more information, see Add tables.
Field |
Description |
---|---|
Table name | The name of the table as it appears in the table section of the Nintex Document Tagger. Dynamically generates tables from collection variables, which can be inserted as tags into a template. |
Repeated format type |
The dynamic repeating format applied to tables in tagged templates. Choose one of the following options.
For more information, see Use repeated format types. |
Column (number) | The collection variable to use for the specific table column in document generation. |
Data type in column (number) |
The format to apply to the column in documents generated from tagged templates. The following options are available.
|
Add column |
Displays selections for adding another column to the table currently being edited. The selections for each column are numbered in the sequence in which they are added. For example, the selections for the second column are labeled "Column 2" and "Data type in column 2." Add a column for every table tag you want available in your template. |
|
Option to edit the specific table. |
|
Option to delete the specific table. |
Add table |
Displays selections for adding another table. |
Define an image URL to insert into the generated document. Maximum of 10 images in the following supported file types: JPG, GIF, and PNG. For more information, see Use images.
Field |
Description |
---|---|
Image tag name | The tag name of the image as it appears in the Images section of the Nintex Document Tagger. |
Image URL | SharePoint or publicly acceptable URL for the image file. |
|
Option to edit the specific image. |
|
Option to delete the specific image. |
Add image |
Displays selections for adding another image. |