'storage of custom properties in a exchange public folder - Outlook

I need to store a custom properties in a exchange public folder. I tried to use PropertyAccessor of MapiFolder, as well as the method GetStorage. But these remedies do not work. How to I can store a my custom properties in a exchange public folder?



Solution 1:[1]

Efim,

Do you get any exception or error in the code? Could you please be more specific?

Anyway, try to enable scripts in Public folders. See the Trust Center settings in Outlook.

enter image description here

Solution 2:[2]

From http://msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook.mapifolder.getstorage(v=office.14).aspx:

GetStorage returns an error if the store type of the folder is not supported. The following stores return an error when GetStorage is called:

•Hotmail store

•Internet Message Access Protocol (IMAP) stores

•Delegate stores

Public folder stores


If using Redemption (I am its author) is an option, its RDOFolder.HiddenItems.Add will work on any kind of store as long as the store provider supports it and the user has sufficient priviledges.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Eugene Astafiev
Solution 2