Field codes are used in Microsoft Word as placeholders for data that might change in a document and for creating mail-merge documents.
Microsoft Word inserts fields when you use particular commands, such as the Date and Time command on the Insert menu in Word 2003 or in the Text group on the Insert tab in Word 2007. You can also manually insert your own fields by using the Field command on the Insert menu in Word 2003 or Quick Parts button in the Text group on the Insert tab in Word 2007.
Field Code Security Issues
Field codes can be visible to anyone reading your document, so you should be sure that the information you place in field codes is not information that you want kept private. OR make sure that the metadata management application, such as iScrub, can manage (unlink or preserve) them.
Unlinking Field Codes
The term "unlinking field code" means replacing the specified field with its result. That is, it turns the field code to text and removes the field code. What’s nice about unlinking field codes is that it removes any private information, such as server paths or links to other objects (i.e., Excel workbooks).
Metadata Management and Unlinking Fields Codes
Unlinking field codes in a document is more than just unlinking all field codes. Depending on who the collaborating party is you may not want to or need to unlink all field codes. Often doing so renders the document unusable and the document is no longer roundtrip-able. Your metadata management tool should be able to apply metadata field code business rules to the document depending on what metadata you are removing from the document. If the metadata management tool’s approach is "an all or nothing", then that’s like using a sledge hammer to nail a picture hanger to the wall. Potentially damaging and dangerous!
Does your Metadata Management tool follow these Field Code Rules?
- If Bookmarks are being deleted, are all REF field codes being unlinked as well? If not then you’ll have "Error" text where this field code exists with the name of the Bookmarks remaining.
- If Document variables are being deleted then you have to unlink all DOCVARIABLE field codes. If not, then you’ll have "Error" text where this field code exists with the name of document variables remaining. Possible security risk!
- If Built-in document properties are being deleted then all those field codes applicable to document properties must be unlinked: If not, then you’ll have "Error" text where this field code exists with the name of document property values remaining. Possible security risk!
- If Custom Properties are being deleted then you have to unlink all DOCPROPERTY field codes that are referencing custom properties. If not, then you’ll have "Error" text where this field code exists with the name of Custom property values remaining. Possible security risk!
This also depends on what specific custom properties will be deleted. Your metadata management tool should preserve specific custom properties you list.
- If ALL field codes are to be unlink then all field codes will be unlinked, except those in section Fields You Cannot or Should Not Unlink (below)
Note: Pressing Alt+F9 in Microsoft Word is a toggle to show or not show field codes
Fields You Cannot or Should Not Unlink
- PAGE
- NUMPAGES
- LISTNUM
- PRIVATE
- ADVANCE
- TC
- XE
Sophistically managing field codes as metadata is and should be looked at as an essential function of your metadata management tool. Managing field codes in your documents that are leaving the digital walls of your firm should apply rules that are a part of your firm-wide metadata policy and should be applied differently depending on who the collaborating or adverse party is.
iScrub – Enterprise Metadata Management
To prevent accidental disclosure of document metadata it is important to implement an enterprise metadata management application, such as iScrub. iScrub enables a company to set up fixed standards for metadata removal and enforce those standards. There are unlimited levels of metadata management in iScrub. Users simply have to select one of the levels available to them - there is no guess work or manual metadata removal and little training needed.