When you save a document created from a Word template, certain custom document properties may not carry over. This often happens with properties tied to content controls or built-in fields that are not automatically updated during the save process. The root cause is typically the template’s property mapping or the way Word handles document-level variables versus template-level placeholders. This article explains why these properties are skipped and provides steps to ensure all properties transfer correctly.
Key Takeaways: Preventing Document Property Loss in Word Templates
- File > Options > Trust Center > Trust Center Settings > Protected View: Disabling protected view for files from the internet can prevent property conflicts during save.
- Insert > Quick Parts > Document Property: Using the built-in document property gallery ensures properties are mapped correctly to the document.
- Developer tab > XML Mapping Pane: Verifying the custom XML mapping for content controls ensures properties are linked to the document’s underlying data store.
Why Word Templates Skip Specific Document Properties
Word templates use two separate property systems: built-in properties (like Title, Author, Subject) and custom properties (defined in File > Info > Properties > Advanced Properties). When you create a document from a template, the template’s custom properties are copied to the new document. However, certain properties may be skipped during the save process for three primary reasons.
Content Control Mapping Conflicts
Content controls in the template are often mapped to custom XML data. When the document is saved, Word attempts to synchronize the content control values with the document’s property store. If the XML mapping is broken or points to a part that does not exist in the new document, the property is skipped. This happens most frequently with repeating section content controls or dropdown list content controls that reference a custom XML part stored only in the template.
Protected View and Trust Center Restrictions
If the template was downloaded from the internet or an untrusted location, Word opens it in Protected View. When you create a document from such a template, the property inheritance may be blocked. Protected View prevents macros and external data connections from running, which includes the mechanism that copies custom document properties. The same behavior occurs when the template is stored in a location not added to the Trusted Locations list.
Document Property Update Timing
Some document properties are not updated until the document is saved for the first time. Built-in properties like Last Modified By and Revision Number are generated at save time. Custom properties that rely on formulas or calculated values may also be deferred. If the template contains properties that depend on other properties, the dependency chain may fail during the initial save, leaving those properties empty.
Steps to Ensure All Document Properties Transfer From a Template
Follow these steps to verify and fix property transfer issues in your Word template workflow. Perform these steps on the template file itself before distributing it to users.
- Open the template in design mode
Open the template file (.dotx or .dotm) in Word. On the Developer tab, click Design Mode. This shows all content controls and their underlying XML mapping. If the Developer tab is not visible, enable it via File > Options > Customize Ribbon > Main Tabs > Developer. - Check custom property definitions
Go to File > Info > Properties > Advanced Properties. Click the Custom tab. Review the list of custom properties. Note which properties are marked with a type (Text, Date, Number, Yes/No). Delete any properties that are no longer needed. Properties that are not linked to any content control will still appear in the list but may not be saved with the document. - Verify content control XML mapping
Select a content control that should store a document property. On the Developer tab, click Properties. In the Content Control Properties dialog, check the XML Mapping section. The XPath should reference a valid custom XML part. If the XPath is empty or shows an error, click the XPath button and select the correct node from the XML Mapping pane. Map the content control to a node under the custom XML part that corresponds to the document property. - Use the Document Property gallery for built-in properties
For built-in properties like Title, Author, or Subject, do not use custom content controls. Instead, go to Insert > Quick Parts > Document Property and select the built-in property. This ensures the property is stored in the document’s built-in property store, which always transfers on save. - Test the template by creating a new document
Save the template. Create a new document based on the template: File > New > From existing template. Fill in the content controls and custom properties. Save the document to a local drive. Close and reopen the document. Go to File > Info > Properties > Advanced Properties and confirm all custom and built-in properties are present. - Add the template location to Trusted Locations
Go to File > Options > Trust Center > Trust Center Settings > Trusted Locations. Click Add new location and browse to the folder containing the template. Check the box for Subfolders of this location are also trusted. This prevents Protected View from blocking property inheritance.
If Properties Still Do Not Transfer After the Main Fix
Custom properties appear in the template but not in the new document
This occurs when the custom property is defined only in the template’s document variables rather than in the document property store. Open the template. Go to File > Info > Properties > Advanced Properties > Custom. If the property is listed, it is stored correctly. If it is not listed, the property was added as a document variable via VBA or as a field code. To fix this, delete the old variable and add a proper custom property via the Advanced Properties dialog.
Content control values reset to default after saving
The content control may have the Check for errors or Remove content control when contents are edited options enabled. Select the content control. On the Developer tab, click Properties. Uncheck Remove content control when contents are edited. Also ensure that the Lock content control option is set to No locking. If the content control is mapped to a repeating section, the mapping may not support direct property storage.
Document properties lost when saving to SharePoint or OneDrive
Cloud storage services may strip custom properties that are not recognized by the web version of Word. To work around this, use only built-in document properties for documents that will be edited in Word for the web. Custom properties that are essential can be stored in a separate XML part or as a hidden table in the document body.
Word Template Property Transfer: Built-in vs Custom Properties
| Item | Built-in Properties | Custom Properties |
|---|---|---|
| Storage location | Document summary information stream | Custom XML part or document variables |
| Transfer on save from template | Always transferred | Transferred only if mapped to a valid XML part |
| Supported content controls | Insert > Quick Parts > Document Property | Developer tab > XML mapped content controls |
| Visible in Word for the web | Yes (read-only) | No |
| Affected by Protected View | No | Yes, when template is from internet |
Now you can identify why specific document properties are skipped when saving documents from Word templates. Start by checking the template’s XML mapping for each content control. Then use the built-in Document Property gallery for properties that must survive cloud storage. For complex workflows, store critical custom properties in a dedicated XML part attached to the document rather than relying on the default custom property store.