Jetformat

Fill Word content controls with values

Use jetformat word template to fill Word content controls with values.

By Jetformat

Template filling matches content-control Tag or Alias values. It differs from MERGEFIELD mail merge and legacy form filling; select the command that matches the template.

Steps

  1. Start with a local DOCX. Replace the sample paths and identifiers with your own.
  2. Run the command below. Save to a new output path so the source remains available for comparison.
  3. Check the result as described below before using it in another job.
jetformat word template letter.docx --set 'customer=Acme Corp' -o letter-updated.docx

Options for this task

Option Meaning
--output Output DOCX path (required)
--set Set a content-control value as key=value; may be repeated

Check the result

Extract text from the filled copy and check for both inserted values and unresolved placeholders.

Notes and limits

Writing an Office document uses one credit per command. See the billing guide for the current rules.

The examples keep the original file. Add --force only when you intend to overwrite an existing output. Run jetformat word template --help to compare options with your installed version.

See the word command reference for the surrounding workflow.

Last updated