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.
-- 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 "Msyrak" <Msyrak[ at ]discussions.microsoft.com> wrote in message news:488F6D0C-1F42-457B-9290-5AD84DA3C94B[ at ]microsoft.com...
[Quoted Text] > 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 >
|