Page not found in the selected version; redirected to the home page.
Modifying Document Templates
Share via
LinkedIn
Reddit
Email
Copy Link
Print
This content applies solely to Award Management, which must be purchased separately from the Appian base platform. This content was written for Appian 24.1 and may not reflect the interfaces or functionality of other Appian versions.
Introduction
When managing their awards, Award Management allows users to associate a document template with a checklist item and auto-populate the document with data entered into Appian. This allows users to generate documents in a consistent format.
For example, to manage an award a user has to create a COR appointment document. The COR Appointment Letter template is provided to the user in the checklist item. The user can click a link to generate and populate the letter based on the template.
Adding new document templates
To add a template to a checklist item type:
Add a document template to AS AM Document Template folder. See instructions for creating documents.
In the folder properties for AS AM Document Template folder, note the folder ID.
In the document properties for each template that you added to the folder, note the document ID.
Using the folder ID and document IDs that you noted in the previous step, add an entry to the AS_AM_R_DOCUMENT_TEMPLATE table for each document you added to the folder. See the Document Template Reference Data Table section.
Auto-populating new document templates
If you want the template to automatically populate with the data that is entered, update the AS AM Create Word Doc from Template process model.
To auto-populate the template with data:
Open the AS AM Create Word Doc from Template process model.
From the Template Smart Service Document node, add an MS Word 2007 doc for each template added to AS_AM_R_DOCUMENT_TEMPLATE table.
In the Setup tab of the added node, add Template Configuration values and save the document to the AS AM Temporary Document Template folder.
In the added node's Setup tab, add the fields you want to search in the template and the values you want to replace them with. You can use the sample template Capabilities Template as a guide.
In the XOR gateway Decision tab, add a new condition for each template.
In the Process Modeler, link the new node to the end node.