Document Templates Share Share via LinkedIn Reddit Email Copy Link Print On This Page This content applies solely to Contract Writing, which must be purchased separately from the Appian base platform. This content was written for Appian 24.2 and may not reflect the interfaces or functionality of other Appian versions. Introduction When managing their awards and solicitations, Contract Writing 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 or solicitation 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 CW Document Template folder. See instructions for creating documents. In the folder properties for AS CW 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_GCW_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 CW Create Word Doc from Template process model. To auto-populate the template with data: Open the AS CW 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_GCW_R_DOCUMENT_TEMPLATE table. In the Setup tab of the added node, add Template Configuration values and save the document to the AS GCW 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. Feedback Was this page helpful? SHARE FEEDBACK Loading...