Getting started

  • Introduction
  • Create a new process
  • Configure template
  • Configure output settings
  • Add deliveries
  • Start process
  • Runs history
  • Processes examples
  • Training videos

Integrations

  • Power Automate
  • Power Apps
  • Airtable
  • Zapier
  • Make
  • Integrately
  • REST API
  • 2000+ integrations

Templates syntax

  • Modern vs. Classic DOCX engine
  • Word DOCX templates (Modern)
  • Word DOCX templates (Classic)
    • How it works
    • Tokens
    • Lists
    • Tables
    • Table of contents
    • Links and endnotes
    • Loops and nesting
    • Charts
    • Conditionally hide content
    • Pictures
    • Automatic numbering
    • QR codes
    • Barcodes
    • Aliases
    • Operations
    • Value formatters
    • Value properties
    • Update file metadata
    • Demos
  • Excel XLSX templates
  • PowerPoint PPTX templates
  • Create fillable PDF
  • HTML templates

Forms

  • Auto-generated forms
  • Rich custom forms

General

  • Licensing details
  • Release notes
  • Data protection and security
  • Data center location
  • Service level agreement
  • Status page

Account management

  • API keys
  • Reports
  • Recycle bin
  • Subscriptions
  • Account settings
  • Audit log

PDF processing and more

  • Convert DOCX, XLSX, PPTX, HTML to PDF
  • Convert DOC, XLS, PPT to DOCX, XLSX, PPTX
  • Extract data from fillable PDF forms
  • Protect PDF files
  • Add watermarks
  • Split PDF
  • Merge PDF
  • Compress PDF
  • Read CSV files
  • Convert CSV files to Excel
  • Extract data using regular expressions
  • Fill merge fields in DOCX document
  • Value properties in DOCX, XLSX and PPTX templates
  • Operations in DOCX, XLSX and PPTX templates
Documentation › Templates syntax › Word DOCX templates (Classic) › Links and endnotes

Links and endnotes

Classic templating engine

Using Modern syntax? See the Modern documentation.

Learn the differences.

Content

  • Links

  • Endnotes

Create DOCX document from template action allows you to add dynamic hyperlinks to a location on the web, as well as endnotes and footnotes.

You can download the source document and the result document for the example described below in links and endnotes demo.

Links

Let us assume we have a list of online learning resources.

JSON representation of the object:

[
    {
        "name": "The Open University",
        "description": "Distance and online courses. Qualifications range from certificates, diplomas and short courses to undergraduate and postgraduate degrees.",
        "linkName": "Go to the site",
        "linkURL": "http://www.openuniversity.edu/courses"
    },
    {
        "name": "Coursera",
        "description": "Online courses from top universities like Yale, Michigan, Stanford, and leading companies like Google and IBM.",
        "linkName": "Go to the site",
        "linkURL": "https://plato.stanford.edu/"
    },
    {
        "name": "edX",
        "description": "Flexible learning on your schedule. Access more than 1900 online courses from 100+ leading institutions including Harvard, MIT, Microsoft, and more.",
        "linkName": "Go to the site",
        "linkURL": "https://www.edx.org/"
    }
]

Now, let us take a look at the source template for this structure:

External links template

We designed a table with a header and just one row that contains our tags. The templating engine is smart enough to understand what content needs to be duplicated.

To refer properties of the objects we just used the names of the properties:

{{name}}, {{description}}, {{linkName}}, {{linkURL}}.

To create a hyperlink to a location on the web we select the text that we want to display as a hyperlink, in the Insert tab in MS Word, click Link, navigate to the Existing File or Web Page tab and add a tag into the Address field:

Insert hyperlink: URL

Endnotes

We have also added endnotes to our template. To do that please click where you want to add an endnote, click References in the top ribbon and Insert Endnote.

Insert endnote

Endnotes and footnotes maintain the context of their definition. This allows the template engine to replace multiple tags which belong to the same context.

You can see the result of rendering below. The templating engine created web hyperlinks and endnotes in the document:

External links result
Previous
Table of contents
Next
Loops and nesting in DOCX templates