Do you want FormDescription or the actual Personal Forms Library?
For FormDescription you would use MailItem.FormDescription (or whatever item
type, it could be AppointmentItem, etc.).
The actual form definition for a custom form is stored in the folder where
it's published as a custom hidden message with a MessageClass of
"IPM.Microsoft.FolderDesign.FormsDescription". You would iterate the
HiddenItems collection of the folder looking for that MessageClass. Then you
would look at each returned item there for one with your custom form's
MessageClass in the Field(&H6800001E), which in DASL syntax is
"
http://schemas.microsoft.com/mapi/proptag/0x6800001E".
For the actual Personal Forms Library you would get the Root folder (not the
IPMRootFolder) of the default Store object, look for "Common Views" and in
that folder is the Personal Forms Library. That library consists of anything
in that folder with a MessageClass of
"IPM.Microsoft.FolderDesign.FormsDescription".
In Redemption code that would be
oSession.Stores.DefaultStore.RootFolder.Folders.Item("Common
Views").HiddenItems. You would iterate that collection of items. Other
things are stored there also, so you have to check each item in that folder
for the correct MessageClass in Field(&H6800001E).
is it possible to read the peronal forms library with RDO?
I searched in the object browser and on the homepage from Dmitry, but I
have no idea where this information could be find.
--
Peter Marchert
[EDP-Service Marchert]
Homepage:
http://www.marchert.de
Programming for Excel and Outlook- Zitierten Text ausblenden -- Zitierten Text anzeigen -