When you work with Word templates, you often need to store metadata that is not covered by built-in fields like Author or Title. Custom properties let you add project codes, document status, or client names directly into your template. The Document Information Panel provides a quick way to view and edit these properties without opening the advanced properties dialog. This article explains how to create and manage custom properties in a Word template using the Document Information Panel.
Key Takeaways: Setting Custom Properties in a Word Template
- Insert > Quick Parts > Document Property > Add a new property: Creates a new custom property directly from the Document Information Panel.
- File > Info > Properties > Advanced Properties > Custom tab: Opens the full dialog to define custom property names, types, and values.
- Developer tab > Document Template > Attach template: Ensures your custom properties are saved into the template file itself, not just the current document.
What Are Custom Properties and the Document Information Panel
Custom properties are metadata fields you define yourself. Each property has a name, a data type such as Text, Number, Date, or Yes/No, and a value. Built-in properties like Author or Company are already defined by Word. Custom properties extend this set for your specific workflow.
The Document Information Panel is a pane that appears at the top of your document window. It shows document properties in a form-like layout. You can edit properties directly in this panel without opening multiple dialog boxes. The panel is especially useful when you need to fill in custom properties quickly while creating documents from a template.
Before you start, make sure you have a Word template file with the .dotx or .dotm extension. Custom properties you add to a template will be inherited by every new document based on that template. This saves time and ensures consistency across your team.
Steps to Add Custom Properties via the Document Information Panel
Follow these steps to create and set custom properties in your Word template. The Document Information Panel is available in Word for Microsoft 365, Word 2021, Word 2019, and Word 2016.
- Open your template file
Double-click your .dotx or .dotm file. If you are editing an existing template, open it directly. Do not create a new document from the template yet. - Show the Document Information Panel
Go to the Insert tab. In the Text group, click Quick Parts. Point to Document Property. At the bottom of the list, click Add a new property. The Document Information Panel opens at the top of your document. - Create a new custom property
In the Document Information Panel, click the Add a new property button if the panel is already open. A row appears with a name field and a value field. Type the property name, for example ProjectCode. In the value field, type a default value such as P-2025-001. Press Enter to save. - Add additional custom properties
Repeat the previous step for each property you need. Common examples are DocumentStatus with values like Draft or Final, and ReviewDate with a date value. You can also use the Advanced Properties dialog for more control over data types. - Set the data type and value using the Advanced Properties dialog
Click the Document Properties drop-down menu in the upper-left corner of the Document Information Panel. Select Advanced Properties. Go to the Custom tab. In the Name box, type the property name. From the Type drop-down, select Text, Date, Number, or Yes/No. In the Value box, enter the default value. Click Add and then OK. - Save the template
Press Ctrl+S or click File > Save. The custom properties are now stored in the template. Close the Document Information Panel if you no longer need it by clicking the X in the panel header. - Test the template
Create a new document based on your template. Press Ctrl+N and select your template from the New screen. The Document Information Panel should show the custom properties with the default values you set. You can edit the values in the panel before saving the document.
Common Mistakes and Limitations
Custom properties are missing when I create a new document
This usually happens if you added the custom properties to a document instead of the template file. Open the .dotx or .dotm file directly. Verify the properties are listed in the Document Information Panel. If they are not, repeat the steps above while editing the template file, not a document based on it.
The Document Information Panel does not appear automatically
By default, the panel may not show when you open a template. You can force it to appear by going to File > Options > Advanced. Under the Display section, check Show Document Information Panel when opening. Click OK. This setting applies to all documents and templates on your computer.
Custom properties are not visible in the panel after editing the template
Make sure the custom properties were added to the template and not to a copy of the template. If you open a document that was created from the template before the properties were added, the document will not inherit the properties. Re-create the document from the updated template.
Data type mismatch causes errors
When you use the Advanced Properties dialog, select the correct Type for each property. For example, a property named ReviewDate should use the Date type. If you select Text, Word will not validate the date format. This can cause issues when you use the property in Quick Parts or fields.
Document Information Panel vs Advanced Properties Dialog: Custom Property Management
| Item | Document Information Panel | Advanced Properties Dialog |
|---|---|---|
| Access method | Insert > Quick Parts > Document Property > Add a new property | File > Info > Properties > Advanced Properties > Custom tab |
| Data type selection | Automatic Text detection only | Explicit Text, Date, Number, Yes/No options |
| Batch property creation | Add one property at a time | Add multiple properties without closing dialog |
| Default value editing | Edit directly in panel fields | Edit in Value box, then click Modify or Add |
| Visibility in template | Shows only properties added via panel or dialog | Shows all custom and built-in properties |
| Best use case | Quick data entry for end users | Template author defining property structure |
You can now create custom properties in your Word template using the Document Information Panel. Test the template by creating a new document and filling in the custom property values. For advanced scenarios, use the Developer tab to insert a DocProperty field that displays a custom property value anywhere in your document body. This is especially useful for headers, footers, or cover pages that need to pull metadata dynamically.