{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":12592,"path":"employee-service-management/legal-simple-contracts/create-legal-contract-template-pdf.md","title":"Create a legal contract template of type PDF","bundle":null,"doc_type":null,"release":"australia","body":"\n# Create a legal contract template of type PDF\n\nCreate a document template of type PDF by uploading an editable and fillable PDF file.\n\n## Before you begin\n\nRole required: admin\n\n## About this task\n\nLegal contract templates help you to create and organize standard contract templates along with fillable metadata placeholders. You can create templates of HTML, PDF and Microsoft Word types. In a PDF document template type, you can upload a fillable PDF file and map fields in the PDF file with fields in a table.\n\n## Procedure\n\n1.  Navigate to **All** &gt; **Legal Administration** &gt; **Simple Contracts Admin** &gt; **Contract Templates**.\n\n2.  Select **New**.\n\n3.  Select Create **PDF Document Template**.\n\n4.  On the form, fill in the fields.\n\n<table id=\"table_nbm_c44_bhb\"><thead><tr><th>\n\nField\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nName\n\n</td><td>\n\nUnique name of the template.\n\n</td></tr><tr><td>\n\nTable Name\n\n</td><td>\n\nName of the table that contains the fields to include in the document template.Select **General Contract Support \\[sn\\_lg\\_ops\\_general\\_contract\\_support\\]**.\n\n</td></tr><tr><td>\n\nContract type\n\n</td><td>\n\nContract type to which the template is associated.\n\n</td></tr><tr><td>\n\nActive\n\n</td><td>\n\nOption for marking the contract template as active.\n\n</td></tr><tr><td>\n\nUser criteria\n\n</td><td>\n\nUser criteria to control which users can use the document.\n\n</td></tr><tr><td>\n\nDocument\n\n</td><td>\n\nOption to upload a fillable PDF for further customization. Click the **Click to add** link to upload a PDF file.\n\n</td></tr></tbody>\n</table>5.  Save the contract template.\n\n    -   Save a contract template by clicking **Submit**.\n    -   Save the changes to an existing contract template by clicking **Update**.\n    The contract template is saved in the Draft state. Related lists to manage participants and to map PDF Template fields appear.\n\n6.  Add participants in the contract template.\n\n    1.  In the Participants related list, click **New**.\n\n    2.  In the **Name** field, enter the display name for the participant.\n\n        For example, for an internal signatory, you could enter `Internal Signer 1`.\n\n    3.  In the **Order** field, enter the order in which the signature request will be initiated for the participant.\n\n    4.  In the **Signer** field, select a user field from the list of fields that are populated from the Signer \\[sn\\_lg\\_contracts\\_signer\\] table.\n\n        **Note:** You can select only the highlighted user fields.\n\n        The user in the mapped field is automatically added as a signatory in the document.\n\n    5.  In the **User** field, select a user field from the list of fields that are populated from the Users \\[sys\\_user\\] table.\n\n    6.  Click **Submit**.\n\n7.  Map a PDF field mapping to a field in the selected table.\n\n    1.  Click the **Parse PDF** related link.\n\n        **Note:** The related link appears only if the attached PDF file is editable.\n\n        The editable fields from the attached PDF file are added in the PDF Template Mappings related list.\n\n    2.  In the PDF Template Mappings related list, click **Field name** to open the field mapping.\n\n    3.  On the PDF Template Mappings form, update the fields.\n\n<table id=\"table_pdf_field_mapping\"><thead><tr><th>\n\nField\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nField name\n\n</td><td>\n\nName that represents the field mapping and stored as part of the document mapping in the database.\n\n</td></tr><tr><td>\n\nPDF template\n\n</td><td>\n\nName of the PDF template to which the mapping record belongs.\n\n</td></tr><tr><td>\n\nDocument field\n\n</td><td>\n\nField from the editable PDF file. **Warning:** Editing the document field might break the document template flow.\n\n</td></tr><tr><td>\n\nDocument field type\n\n</td><td>\n\nType of the mapping field.\n\n</td></tr><tr><td>\n\nPreview value\n\n</td><td>\n\nValue of the mapping field for preview.You can use this field to validate a field value that would appear in the generated document without creating a legal request to test your mappings.\n\n</td></tr><tr><td>\n\nFormat\n\n</td><td>\n\nFormat to enter values by the participant in the field.A validation error appears when the participant doesn't enter a value in the specified format.\n\n</td></tr><tr><td>\n\nRead only\n\n</td><td>\n\nOption for enabling the editing of the field by the selected participant.\n\n</td></tr><tr><td>\n\nMandatory\n\n</td><td>\n\nOption for marking the field as required to be filled by the assigned participant.\n\n</td></tr><tr><td>\n\nActive\n\n</td><td>\n\nOption for marking the field mapping as active.\n\n</td></tr><tr><td>\n\nMapping table\n\n</td><td>\n\nTable from which the mapping fields are referenced.\n\n</td></tr><tr><td>\n\nMapping field\n\n</td><td>\n\nField from the mapping table that maps to the field in the **Document field**.\n\n</td></tr><tr><td>\n\nParticipant\n\n</td><td>\n\nUser who can edit the field in the document.The list is populated from the Participants related list.\n\n</td></tr><tr><td>\n\nAdvanced script\n\n</td><td>\n\nOption for using scripted fields for complex mapping of a field.On selecting, the **Script** field appears.\n\n</td></tr><tr><td>\n\nScript\n\n</td><td>\n\nEnter a script to configure script fields for a complex field mapping.\n\n</td></tr></tbody>\n</table>    4.  Click **Update**.\n\n8.  Specify an area in the PDF document where you want to collect the signatures of the participants.\n\n    1.  Click the **Mark Signatures** related link.\n\n    2.  In the Mark Signature Blocks dialog box, click **Add Field**.\n\n    3.  In the document preview pane, mark an area by dragging the mouse device.\n\n    4.  In the **Name** field, enter a name for the signature-mapping record.\n\n    5.  In the **Mapping** list, select a user as the signer.\n\n        The list shows participants from the Participants related list.\n\n    6.  Click **Save**.\n\n9.  Click **PDF Preview** to preview the document.\n\n10. To make the template available for usage, click **Publish**.\n\n\n"}}