Add new user property in all folders

Add-in Express™ Support Service
That's what is more important than anything else

Add new user property in all folders
 
François Gaumond




Posts: 103
Joined: 2007-09-21
Hi,

do you know if is there a way to create a new User property in every folders (and search folders) because we are using our properties to build custom views and want to be able to apply that custom view in our search folders as well.

Thanks a lot for your support!
Posted 23 Apr, 2008 15:43:22 Top
Eugene Astafiev


Guest


Hi Francois,

you can use http://www.add-in-express.com/downloads/mapi-store-events.php to create custom properties in every folder. For example:

 AddinExpress.MAPI.Folder inbox = adxmapiStoreAccessor1.MsgStores[0].RootFolder.Folders[1].Folders[1];
 inbox.SetProperty(0x6001001F,"value");


You can read about property IDs on our http://www.add-in-express.com/creating-addins-blog/2008/04/07/how-to-get-access-to-hidden-outlook-items-via-extended-mapi/.
Posted 24 Apr, 2008 04:16:45 Top
François Gaumond




Posts: 103
Joined: 2007-09-21
Thanks a lot !
Posted 29 Apr, 2008 12:25:57 Top