OL98: How to Display Word Custom Properties in Outlook
ID: Q180564
|
The information in this article applies to:
-
Microsoft Outlook 98
-
Microsoft Word for Windows, version 6.0
-
Microsoft Word 97 for Windows
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.
- Create a Word document that contains custom properties.
- Create a Mail item folder in Outlook and move the document to it.
- Add the custom properties field to the Outlook view.
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
- Create a new Word 97 document.
- On the View menu, point to Toolbars, and click Forms to open the
Forms toolbar.
- On the Forms toolbar, click the Text Form Field button to insert a
text box.
- Double-click the text box to display the Text Form Field Options
dialog box.
- In the Bookmark box, type to replace Text1 with ProjectName and
click OK.
- On the File menu, click Properties, and then click the Custom tab.
- In the Name box, type "myprop" (without quotation marks) for the
name of a custom property.
- Click to select the Link To Content check box and in the Source list,
click to select ProjectName as the linked source.
- 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.
- Click OK to close the Document Properties.
- On the Forms toolbar, click the Protect Document button to protect
the document.
- On the File menu, click Save and save the document as Testlink.doc.
- 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
- Start Outlook and on the Outlook Bar, click Other Shortcuts.
- On the File menu, point to New, and then click Folder to open the
Create New Folder dialog box.
- In the Name box, type Testlink and in the Folder Contains list,
click to select Mail Items. Click OK.
- Create a shortcut to this folder on the Outlook Bar.
- On the Outlook Bar, click My Computer. In the Messages view, find and
click to select the Testlink.doc file.
- Drag the Testlink.doc file to the Testlink shortcut on the Outlook
Bar.
Add the Custom Property to the Outlook View
- 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.
- Right-click a column header such as From or Subject. Click
Field Chooser.
- Click to select "User-defined fields in folder" from the list.
- 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.
- In the Messages view, double-click Testlink.doc to open it in Word.
- With Testlink.doc open, type "This is new text" in the text box.
- 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
|