Storing Properties or Attributes on an Outlook Public Folder

G

Guest

This question concerns either Outlook 2000 or 2003, and is a bit complicated
so I'll explain it as best I can.

My company is attempting to gather information from the Public Folders of
our Exchange server using an ADO Query. However, we need information from
documents within sub-folders under the Public Folders, which requires another
query for each Public Folder found. Obviously this script does not scale
well due to the number of queries necesarry, so we were hoping we could speed
up the query by somehow storing the information from the documents that we
need as properties or attributes of the Public Folders themselves, thus the
single folder query is all we would need to gather the necessary information.
Does anyone know if this is possible and if so, how to do it? These
properties or attributes would have to be programatically modifiable so they
could change as the documents are updated.

Thanks for any help you can provide!

- Jason Kallelis
 
D

Dmitry Streblechenko

The standard way of doing that is to create a hidden (aka associated)
message in a folder. You can then store anything as
properies/attachments/etc in those hidden messages.
Outlook Object Model does not support associated messages, so Extended
MAPI/CDO 1.21/Redemption is required.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top