StruXure
/

Upload a Word file as a document template

Use a long agreement you keep in Word as a Financials document's wording, with fields typed into the file, and open a sample PDF filled with sample details.

Who this is forCompany admins

Permission neededSettings — Admin

If your agreement lives in Word, you can upload the file itself instead of writing the wording in StruXure. You type the fields into the file where each detail goes, and StruXure fills them in when it makes the document.

Get the file ready

  1. Open the agreement in Word.
  2. Where a detail goes, type its field in double braces, for example {{project.name}} or {{vendor.name}}. Format it the way the detail should print, bold or otherwise.
  3. To print words only when a field has a value, put them between {{#field}} and {{/field}}, for example {{#vendor.phone}}Phone: {{vendor.phone}}{{/vendor.phone}}. These can be on lines of their own around whole paragraphs.
  4. Save it as a Word document (.docx). An older .doc file needs saving as .docx first.

Fields in the headers and footers are filled in too.

Upload it

  1. Go to Settings → Document templates and click the document's name.
  2. Under Or upload a Word file, choose the file. Fields you can type into the file lists every field the document has.
  3. Under Applies in, leave All states ticked, or untick it and tick the states it's for.
  4. Click Upload as new version.

StruXure checks every field first. A field the document doesn't have is named, for example {{projct.nme}} is not a field this document has., and so is a {{#field}} with no {{/field}}. A picture, document or file the Word file only links to, rather than holding, is refused too, and so is a field such as INCLUDEPICTURE or INCLUDETEXT that brings one in by its address: insert the picture into the file itself. A file that unpacks to more than 64 MB is refused as well; compressing its pictures in Word makes it smaller. Nothing is uploaded until the file is fixed.

The file becomes the document's next version and is used from now on, the same as saving wording. Follows shows Your Word file with its version number and file name.

The sample PDF

Under Versions, the file's row says Making the sample PDF… for a few seconds, then shows Sample PDF. It opens the file filled with your company's details and sample details for the project, the vendor and the record, so you can check every field landed where you meant.

The file's name in the row downloads the file as you uploaded it. Show its words shows its words without the formatting.

Every file is checked for malware when it's uploaded, and the sample PDF is made once the check comes back clean. Until then the file's name isn't a link and a label beside it says why: Scanning for Malware (it opens as soon as the check finishes), Infected (malware was found: it can never be opened, and no sample is made) or Scan Failed (it couldn't be checked; upload it again as a new version).

If the Malware Scan finds malware in the file, its row says Infected, the file can't be downloaded and no sample PDF is made from it. Upload a clean copy as a new version.

What a Word file can't hold

Schedule of values (table) and Continuation sheet (table) are tables StruXure draws, so they can't go in a Word file. A document that needs one is written in the editor instead (see Build a document template in the editor).

Related articles

Last updated November 23, 2026