Outlook VSTO add-in's + Symantec's enterprise vault.

S

Sanjay

Hi guys --
Just noticed a wierd behavior with Outlook 2003 VSTO add-in's and
Enterprise Vault archived messages. We have Enterprise vault deployed
and users archive old messages to the vault. The archived messages
are replaced with a stub in the mailbox and when users open the stub
it actually retrieves the message from the vault to display it.
The issue is that I have a VSTO plug-in that displays custom UI
elements but those don't get displayed on the stubs. Works fine for
messages in the mailbox. The code to create the UI elements gets
executed but no UI elements are displayed. I also wireup the mailitem
forward/reply/replyall events which do not get fired for the stub.
Any ideas what might be happening?

Sanjay
 
K

Ken Slovak - [MVP - Outlook]

Obviously the stub is not really Outlook compatible. You'd have to ask
Symantec about any code method of accessing the original item, which since
it is not stored within Outlook any longer may not be able to display your
UI or fire events for you. This isn't a VSTO or Outlook problem, it's from
whatever Symantec is doing.
 
S

Sanjay

Ken,
Thanks for the quick response. I did some digging. The stub does
fire the new_inspector event and the item-type is mailitem. The
wrapper I have then wires up the item_forward/reply/reply_all/close/
send events. None of those events get fired. Although
Application_ItemSend on the reply does get fired. Could it be using
simple mapi?

Sanjay

Obviously the stub is not really Outlook compatible. You'd have to ask
Symantec about any code method of accessing the original item, which since
it is not stored within Outlook any longer may not be able to display your
UI or fire events for you. This isn't a VSTO or Outlook problem, it's from
whatever Symantec is doing.

--
Ken Slovak
[MVP - Outlook]http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Optionshttp://www.slovaktech.com/products.htm




Hi guys --
Just noticed a wierd behavior with Outlook 2003 VSTO add-in's and
Enterprise Vault archived messages. We have Enterprise vault deployed
and users archive old messages to the vault. The archived messages
are replaced with a stub in the mailbox and when users open the stub
it actually retrieves the message from the vault to display it.
The issue is that I have a VSTO plug-in that displays custom UI
elements but those don't get displayed on the stubs. Works fine for
messages in the mailbox. The code to create the UI elements gets
executed but no UI elements are displayed. I also wireup the mailitem
forward/reply/replyall events which do not get fired for the stub.
Any ideas what might be happening?
Sanjay- Hide quoted text -

- Show quoted text -
 
K

Ken Slovak - [MVP - Outlook]

Simple MAPI items don't fire NewInspector. They are added to the Inspectors
collection but no NewInspector. And they do fire item.Close, .Send and at
least a few other events I've handled. Once the Simple MAPI item is opened
it's just another modal Inspector window.

What I'd do is look at a normal message using a MAPI viewer like OutlookSpy
and see how the MAPI properties differ from a stub item. That would tell you
more. If those stubs won't fire events then you can only see what Symantec
says (if anything) and try to find some workaround or at least a way of
identifying those stub items.
 

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

Similar Threads


Top