Header Rows in MAPI Tables with MV/Categorized Sorts
- From: "Jack Harris" <covinasurf@xxxxxxxxx>
- Date: 23 Dec 2005 07:32:12 -0800
We're implementing our own MAPI table so that we can support the group
by function in OL. Everything is working so far, except for one thing.
When grouping on multi value colums with the MV_INSTANCE flags set, I
cannot get OL to display the group value in the header. For example,
when doing a group by on Categories, the headers display
Categories:(none) (x items) for each header.
I've tried most everything I can think of. The docs say to include the
sort key(s) in the header, which I do - and I've tried several
different approaches. The sort key as a MV prop with all values, as a
MV prop with a single value, a single value prop with the group value.
I even spied on the OL pst implementation using MFC Mapi - it returns
MAPI_E_NOT_FOUND for the sort key in the header. I tried that - no luck
there either.
I have not been able to find anything on header row rules in the docs,
other than the Sorting and Categorization page in MSDN the describes
what properties to include in the header. Of course, it neglects to
mention PR_CONTENT_COUNT, which OL uses to display the item count in
the header. Given that, I'm sure there's something else that I'm
missing.
So, has anyone have any idea what I need to add, or knows where I can
find some additional information on rules for header rows?
Thanks,
Jack Harris
Seminars and Systems
.
- Prev by Date: getting handle to a custom folder, say "ABC".
- Next by Date: Re: Create Outlook Contacts
- Previous by thread: getting handle to a custom folder, say "ABC".
- Next by thread: using extended mapi to create a pst file and add items to it
- Index(es):
Relevant Pages
|