Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / May 2006

Tip: Looking for answers? Try searching our database.

Automating Custom Field colums in inbox

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Msyrak - 26 May 2006 08:30 GMT
Hi

I am developing an add-in that integrates to a large-scale
document-management system. The user can save emails from outlook in the DMS,
and this is marked in outlook as a custom property (or field) on the mail
item. There are two fields a boolean showing that the email has been saved
and an id referring to the document id in the DMS.

The users set up their inboxes to show these fields in two columns.

Now we are deploying this integration in an installation for some 6000+
users, and whish to automate the inbox folder setup so the columns are
automatically added to the inbox (and optionally sent-items) folders. Is that
possible? And how?

Best Regards

Mads S. Larsen
Sue Mosher [MVP-Outlook] - 26 May 2006 12:54 GMT
Yes, that's possible. You'd first need to create a PostItem in the folder and add to its UserProperties collection to set the field definitions in the folder. (You can then delete that item.)

Then you can use the View.XML property to handle the view columns. MSDN has articles at http://msdn.microsoft.com/library/en-us/dnout2k2/html/ODC_CustomViews.asp and http://msdn.microsoft.com/library/en-us/dnout2k2/html/ODC_XMLViewDef.asp See http://www.outlookcode.com/threads.aspx?forumid=4&messageid=19 for additional sample code.

Signature

Sue Mosher, Outlook MVP
  Author of Configuring Microsoft Outlook 2003
    http://www.turtleflock.com/olconfig/index.htm
  and Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx
 

> Hi
>
[quoted text clipped - 14 lines]
>
> Mads S. Larsen
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.