OL98: How to Display Word Custom Properties in Outlook

ID: Q180564


The information in this article applies to:


SUMMARY

This article describes how you can use the Microsoft Outlook 98 Message view of a mail item folder to display a Microsoft Word 97 document's custom properties.


MORE INFORMATION

The example below is a three-part process.

NOTE: This procedure requires that Integrated File Management be installed on your computer. It is not installed during a new install of Outlook 98. It is installed during an upgrade, and can be added by running Outlook 98 Setup and selecting Add New Components.

Create a Word Document with Custom Properties

  1. Create a new Word 97 document.


  2. On the View menu, point to Toolbars, and click Forms to open the Forms toolbar.


  3. On the Forms toolbar, click the Text Form Field button to insert a text box.


  4. Double-click the text box to display the Text Form Field Options dialog box.


  5. In the Bookmark box, type to replace Text1 with ProjectName and click OK.


  6. On the File menu, click Properties, and then click the Custom tab.


  7. In the Name box, type "myprop" (without quotation marks) for the name of a custom property.


  8. Click to select the Link To Content check box and in the Source list, click to select ProjectName as the linked source.


  9. Click Add.

    NOTE: The new custom property is now in the Properties list and is a linked property, indicated by a small chain link icon to the left of the property name.


  10. Click OK to close the Document Properties.


  11. On the Forms toolbar, click the Protect Document button to protect the document.


  12. On the File menu, click Save and save the document as Testlink.doc.


  13. On the File menu, click Close to close the document. You must close the document before following the next series of steps.


Create a Mail Folder and Drag the Document to the Folder

  1. Start Outlook and on the Outlook Bar, click Other Shortcuts.


  2. On the File menu, point to New, and then click Folder to open the Create New Folder dialog box.


  3. In the Name box, type Testlink and in the Folder Contains list, click to select Mail Items. Click OK.


  4. Create a shortcut to this folder on the Outlook Bar.


  5. On the Outlook Bar, click My Computer. In the Messages view, find and click to select the Testlink.doc file.


  6. Drag the Testlink.doc file to the Testlink shortcut on the Outlook Bar.


Add the Custom Property to the Outlook View

  1. Click the Testlink shortcut on the Outlook Bar. The Testlink.doc file is now an item in the Testlink MAPI folder. You will see Testlink.doc in the Messages view of the Testlink folder.


  2. Right-click a column header such as From or Subject. Click Field Chooser.


  3. Click to select "User-defined fields in folder" from the list.


  4. Drag the "myprop" field to the column headers of the current view to create a new column. The value of the myprop field is initially blank. Close the Field Chooser.


  5. In the Messages view, double-click Testlink.doc to open it in Word.


  6. With Testlink.doc open, type "This is new text" in the text box.


  7. On the File menu, click Close, and when prompted to save changes, click Yes.

    The updated value in the myprop field of the Outlook messages view should read "This is new text."



REFERENCES

For more information about creating Outlook user-defined fields, type "create a custom field" in the Office Assistant, click Search, click "Change the view" and then click "Add or remove fields in a view."

Additional query words:


Keywords          : kbinterop IntpOle 
Version           : WINDOWS:98
Platform          : WINDOWS 
Issue type        : kbhowto 

Last Reviewed: August 12, 1999