How to Create and Use Custom Document Properties in Microsoft Word to Automate Metadata

Managing repeated details such as project reference numbers, client names, legal disclaimers, or version tags across multi-page Microsoft Word documents frequently leads to inconsistencies when edited manually. Microsoft Word includes Custom Document Properties, an advanced metadata feature that lets you define centralised key-value pairs and insert them dynamically throughout your text using Field codes.

Why Custom Document Properties Improve Consistency

Using document properties instead of static text provides three key advantages:

  • Single Point of Update: Modifying a property value in the document settings updates every occurrence across headers, footers, cover pages, and body paragraphs simultaneously.
  • Standardised Team Templates: Organisations can configure boilerplate contract and proposal templates where staff populate metadata fields without risking accidental changes to core body formatting.
  • Search and Indexing Support: Windows File Explorer and SharePoint can index custom document properties, making business files searchable by reference numbers or custom metadata tags.

Creating Custom Document Properties in Microsoft Word

To define custom metadata parameters in any Word document or template:

  1. Open your document in desktop Microsoft Word.
  2. Click the File tab in the ribbon, select Info, and locate the Properties drop-down menu on the right side.
  3. Select Advanced Properties from the drop-down options.
  4. In the properties dialogue window, switch to the Custom tab.
  5. Define your metadata item:
    • Name: Choose a descriptive name (for example, ProjectCode, ClientOrganisation, or ReviewDate). You can select from standard suggestions or type a custom name.
    • Type: Select the data type (Text, Date, Number, or Yes or No).
    • Value: Enter the corresponding content (such as PRJ-2026-ENG).
  6. Click Add to save the property to the list, then click OK.

Inserting Document Properties into Text via Field Codes

Once defined, you can display custom document properties anywhere in your document using Word’s Field engine:

  1. Place your cursor where the property value should appear (such as in a header, cover page, or paragraph).
  2. Navigate to the Insert tab on the ribbon.
  3. In the Text group, click Quick Parts and select Field.
  4. In the Categories dropdown, select Document Information.
  5. From the Field names list, select DocProperty.
  6. Under Property, select your custom property name (for instance, ProjectCode) and click OK.

Word inserts the property value directly into the text. When clicked, the text reveals a subtle grey field background, signifying that it is connected to document metadata.

Updating and Refreshing Field Codes Across the Document

When you update a property’s value in File > Info > Advanced Properties, existing field instances in the document do not always repaint immediately. To refresh them across the entire file:

  • Keyboard Refresh: Press Ctrl + A to select all document content, then press F9 to recalculate and refresh all field codes immediately.
  • Print Preview Refresh: Entering Print Preview (Ctrl + P) or exporting the document to PDF automatically forces Word to evaluate and update all metadata fields.
  • Automatic Update on Print: Enable automated updates before printing by navigating to File > Options > Display and checking Update fields before printing.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.