How-To:PDF Template

From ContactsLaw Documentation
Revision as of 11:48, 17 August 2024 by Nigel Siegwart (talk | contribs)

This guide demonstrates best practices for creating a PDF Template based on a third party's PDF document (e.g. forms from banks, governments and other institutions).

For a general overview of creating a template, review the "Create Template" guide.

  1. Open the New Template window (see the Create Template guide).
  2. Click “Upload” and choose the PDF file you want to use as a template.
    Step 3 - PDF Template.png
  3. After uploading the PDF, name the template (by changing the description). If you wish to group the template by a category, enter or select a category name.
    Step 4 - PDF Template.png
  4. Navigate to the "Content" menu and click refresh. If your PDF file was sourced from a third party and has editable fields, you will likely find numerous meaningless content names appear. This is because the third party has not named the various form fields.
  5. To have the best templating experience we need to give the fields within the PDF template meaningful names. Start by clicking “Edit” to open the PDF file.
    Step 5 - PDF Template.png
  6. We recommend using Adobe Acrobat to edit the PDF file. Within Adobe Acrobate, open the field editor or use the "Prepare a Form" function to generate fields. You should give the fields meaningful names as these will be the names that appear in the "Content" section of the ContactsLaw template editor.
    Step 6.2 - PDF Template.png
  7. Once you have finished generating and naming the fields in Adobe Acrobat, save the document and click "Check In" in the ContactsLaw "Edit Template" window.
    Step 7 - PDF Template.png
  8. Click the "Refresh" button in the "Content" window. Your newly generated/named fields will then appear.
    Step 8 - PDF Template.png
  9. Next proceed to the “Assets” and add the assets that you are going to draw upon to populate the Content fields.
    Step 9 - PDF Template.png
  10. Proceed to map the content fields in the document (referring to the Assets selected). The easiest way to do this is to click the “Browse” which will then give you the list of assets and different attributes that can be drawn on.
    Step 10.1 - PDF Template.png
  11. Select the asset/attributes for each content field. You can also apply formatting. See Document Template for an explanation as to content fields and formatting).
    Step 11.1 - PDF Template.png
  12. You can test your template at any time by clicking "Test Template" which will use generic information to populate your template fields.
    Step 14.1 - PDF Template.png
  13. To correct any faults or issues with the template, you can return to the "Content" menu to alter the mappings.
    Step 15 - PDF Template.png
  14. The template will then need to be Configured.