Folders, views and forms

D

Dakota Ridge

I've created a new message store with all new folders inside Outlook
(programatically with MAPI). The data won't display. I'm finding every
piece of reference material that I could possibly need regarding getting this
data to display, but as far as I can tell, the overall process - what to
actually do with all this programming reference data - is completely
undocumented. All I need is a general description on what I need to do, to
get messages to display as messages, contacts to display as contacts, etc.
Do I need to create a common views folder for the new message store I
created? Is this done automatically when I create the new message store?
Are forms assigned on a per-folder basis? Per-message? Just a quick,
general outline of what I need to do will be enough. Thanks!!!!
 
S

Sue Mosher [MVP-Outlook]

The PR_MESSAGE_CLASS property (0x001A001E) on each item determines what form
Outlook uses to display a particular item. But if this is a custom MAPI
store, your questions would be best answered in a MAPI forum (see
http://www.outlookcode.com/d/mapi.htm#discuss). This group is for custom
Outlook forms issues.
 
D

Dakota Ridge

Hi Sue,

Thank you for the info. This is a backup and restore process, so the backup
is being restored as a custom store, but nothing else about it is custom, nor
does it need to be. I'm backing up and restoring the PR_MESSAGE_CLASS
property with each message, and it's not doing the trick. The restored
folders are being created with no problem, the messages are showing up in the
list view that lists the headers; it just refuses to display anything in the
preview pane. I've even backed up the PR_COMMON_VIEWS_ENTRYID and the
PR_VIEWS_ENTRYID folders and recreated them with the new store. Contacts are
showing up as regular messages in the "headers" list view; the preview pane
is blank for these. Normal IPM.Note messages won't display in the preview
pane at all. I'm assuming I can't store entry ID values because these are
created and assigned when the messages are recreated. Either my
PR_COMMON_VIEWS folder isn't being created or acknowledge properly, or else
it seems to be some other problem at the folder level, and I assumed it was
due to some problem associating a form with a folder. Anyway I'll check in
the other forum as well. Thanks!!
 
S

Sue Mosher [MVP-Outlook]

Unless you're using this store as the default store, PR_COMMON_VIEWS* should
be irrelevant.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

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