How to retrieve User Defined fields defined in an Folder?

  • Thread starter Thread starter Lucas Campos
  • Start date Start date
L

Lucas Campos

Hi,
is there any way to retrieve the User Defined fields of a folder using
Automation?
When I access the fields configuration of a folder I can see some User
defined fields, but I could not found an option to get them using
automation. I just only found how to retrieve user defined fields of an
Item.

Is there any way to do that?

Regards,

LucasC
 
Not with the OOM, no, unless you're using Outlook 2007. In that case you can
access hidden items in a folder.

If you use a MAPI API such as Extended MAPI or Redemption you can see the
folder as a hidden item in the folder with the MessageClass of
"IPC.MS.REN.USERFIELDS".

The actual user properties are in a binary property with the property tag of
PR_USERFIELDS (0x36E30102). However, that format is undocumented and
contains not only the property names but also other information that I have
no idea about. It's a hack really.
 
Back
Top