A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

OpenEntry Requests.



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 11th 07, 02:03 PM posted to microsoft.public.outlook.program_addins
T-rev
external usenet poster
 
Posts: 9
Default OpenEntry Requests.

I have some strange behaviour across 2 very different releases of our
messageStore addin.
If the preview pane is turned off and you entry a folder, you get an
onSelectionChange for item clicked on in extensions and a request for the
EntryId from the Folder properties.

In a previous version of the software this is the same with the exception
that when you click off Outlook and highlight another window, it now
requests an openEntry on the IMessage itself, and we endup having to build
it all. I do not see any reason for this, as it does not need to know the
properties at this stage, and didn't for all of the UI operations while
still in Outlook (unless the message is opened)

Any Ideas???



Ads
  #2  
Old October 12th 07, 02:23 AM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default OpenEntry Requests.

I don't see why this is a problem. If Outlook wants it, let Outlook have it.
Supposedly you already have data that you show in the folder contents table,
so you have some of it cached. Plus why not defer doing anything time
consuming until Outlook actually asks for the data via
IMessage::GetProps/OpenProperty/GetRecipientTable/GetAttachmentTable?

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

"T-rev" wrote in message
...
I have some strange behaviour across 2 very different releases of our
messageStore addin.
If the preview pane is turned off and you entry a folder, you get an
onSelectionChange for item clicked on in extensions and a request for the
EntryId from the Folder properties.

In a previous version of the software this is the same with the exception
that when you click off Outlook and highlight another window, it now
requests an openEntry on the IMessage itself, and we endup having to build
it all. I do not see any reason for this, as it does not need to know the
properties at this stage, and didn't for all of the UI operations while
still in Outlook (unless the message is opened)

Any Ideas???





  #3  
Old October 12th 07, 05:04 PM posted to microsoft.public.outlook.program_addins
T-rev
external usenet poster
 
Posts: 9
Default OpenEntry Requests.

As the email is stored in MSG format in a backend store, when Outlook
requests the properties we have to retrive the entire MSG with content and
properties in order just to process properties.

We have a shortened set of properties which is all that is needed to fill in
the current view stored off seperately which is all that is needed to fill
in the contents table.

My problem is that Outlook is presently requesting the properites and
opening the RTF property and the attachment table (as if some for of sync
event has happened).
So its not as if I could even hold off any longer as it does request all of
the above.)

My question is that this Outlook does not need to know this information
whilst in the UI any ideas what would make a request for it when you take
the focus away.
I started looking at the uuid in the entry id, the mdb provider etc. but
with no luck.

Any more ideas.

PS It is not normal behaviour as I see it, as it does not happen on the
wrapped PST I have, and also not on our most messageStore.
"Dmitry Streblechenko" wrote in message
...
I don't see why this is a problem. If Outlook wants it, let Outlook have
it.
Supposedly you already have data that you show in the folder contents
table, so you have some of it cached. Plus why not defer doing anything
time consuming until Outlook actually asks for the data via
IMessage::GetProps/OpenProperty/GetRecipientTable/GetAttachmentTable?

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

"T-rev" wrote in message
...
I have some strange behaviour across 2 very different releases of our
messageStore addin.
If the preview pane is turned off and you entry a folder, you get an
onSelectionChange for item clicked on in extensions and a request for the
EntryId from the Folder properties.

In a previous version of the software this is the same with the exception
that when you click off Outlook and highlight another window, it now
requests an openEntry on the IMessage itself, and we endup having to
build it all. I do not see any reason for this, as it does not need to
know the properties at this stage, and didn't for all of the UI
operations while still in Outlook (unless the message is opened)

Any Ideas???







  #4  
Old October 12th 07, 06:51 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default OpenEntry Requests.

Do you return all of the properties requested through IMAPITable?

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

"T-rev" wrote in message
...
As the email is stored in MSG format in a backend store, when Outlook
requests the properties we have to retrive the entire MSG with content and
properties in order just to process properties.

We have a shortened set of properties which is all that is needed to fill
in the current view stored off seperately which is all that is needed to
fill in the contents table.

My problem is that Outlook is presently requesting the properites and
opening the RTF property and the attachment table (as if some for of sync
event has happened).
So its not as if I could even hold off any longer as it does request all
of the above.)

My question is that this Outlook does not need to know this information
whilst in the UI any ideas what would make a request for it when you take
the focus away.
I started looking at the uuid in the entry id, the mdb provider etc. but
with no luck.

Any more ideas.

PS It is not normal behaviour as I see it, as it does not happen on the
wrapped PST I have, and also not on our most messageStore.
"Dmitry Streblechenko" wrote in message
...
I don't see why this is a problem. If Outlook wants it, let Outlook have
it.
Supposedly you already have data that you show in the folder contents
table, so you have some of it cached. Plus why not defer doing anything
time consuming until Outlook actually asks for the data via
IMessage::GetProps/OpenProperty/GetRecipientTable/GetAttachmentTable?

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

"T-rev" wrote in message
...
I have some strange behaviour across 2 very different releases of our
messageStore addin.
If the preview pane is turned off and you entry a folder, you get an
onSelectionChange for item clicked on in extensions and a request for
the EntryId from the Folder properties.

In a previous version of the software this is the same with the
exception that when you click off Outlook and highlight another window,
it now requests an openEntry on the IMessage itself, and we endup having
to build it all. I do not see any reason for this, as it does not need
to know the properties at this stage, and didn't for all of the UI
operations while still in Outlook (unless the message is opened)

Any Ideas???









  #5  
Old November 2nd 07, 06:27 PM posted to microsoft.public.outlook.program_addins
T-rev
external usenet poster
 
Posts: 9
Default OpenEntry Requests.

Yes, properties are normally requested on in the contents table, which we
get a TableView on, and then return that view wrapped to get all future
calls on it.



"Dmitry Streblechenko" wrote in message
...
Do you return all of the properties requested through IMAPITable?

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

"T-rev" wrote in message
...
As the email is stored in MSG format in a backend store, when Outlook
requests the properties we have to retrive the entire MSG with content
and properties in order just to process properties.

We have a shortened set of properties which is all that is needed to fill
in the current view stored off seperately which is all that is needed to
fill in the contents table.

My problem is that Outlook is presently requesting the properites and
opening the RTF property and the attachment table (as if some for of sync
event has happened).
So its not as if I could even hold off any longer as it does request all
of the above.)

My question is that this Outlook does not need to know this information
whilst in the UI any ideas what would make a request for it when you take
the focus away.
I started looking at the uuid in the entry id, the mdb provider etc. but
with no luck.

Any more ideas.

PS It is not normal behaviour as I see it, as it does not happen on the
wrapped PST I have, and also not on our most messageStore.
"Dmitry Streblechenko" wrote in message
...
I don't see why this is a problem. If Outlook wants it, let Outlook have
it.
Supposedly you already have data that you show in the folder contents
table, so you have some of it cached. Plus why not defer doing anything
time consuming until Outlook actually asks for the data via
IMessage::GetProps/OpenProperty/GetRecipientTable/GetAttachmentTable?

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

"T-rev" wrote in message
...
I have some strange behaviour across 2 very different releases of our
messageStore addin.
If the preview pane is turned off and you entry a folder, you get an
onSelectionChange for item clicked on in extensions and a request for
the EntryId from the Folder properties.

In a previous version of the software this is the same with the
exception that when you click off Outlook and highlight another window,
it now requests an openEntry on the IMessage itself, and we endup
having to build it all. I do not see any reason for this, as it does
not need to know the properties at this stage, and didn't for all of
the UI operations while still in Outlook (unless the message is opened)

Any Ideas???











 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
meeting requests BJCash Outlook - Calandaring 0 July 25th 07 05:00 PM
Meeting requests Skiracer Outlook - Calandaring 0 April 23rd 07 10:09 PM
Meeting Requests Ket Outlook - Calandaring 1 November 4th 06 05:09 AM
Meeting Requests David Outlook - Calandaring 0 August 2nd 06 02:43 PM
Timeouts for MAPI's OpenEntry() [email protected] Outlook - General Queries 0 March 4th 06 01:16 AM


All times are GMT +1. The time now is 08:47 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.