New Mail Form

G

Guest

I have created a new mail form which I want to use purely to display mails
items not to create them. ie. User creates a normal email, it is added to
our store, I change the messageClass to have an extension of IPM.Note.MyForm.
I have published this form to a folder. New items created in this folder are
using this form but this is not the approach I would like. I would like new
messages to be created using the normal form which is ok because they are
created outside our store normally, but when added to this folder they can
display properties I set on the message. I am using MAPI to set the
properties eg. New property DocumentId I want this to show on all messages
opened in this folder, as all of our emails are assigned one. Have I went
about this incorrectly? If I add an email created using this form it holds
onto the properties created on it by the form, and does not use the new ones
placed on it by mapi - any ideas? If I need a different approach please tell
me. Thanks. Trev.
 
T

T-rev

In addition to this I forgot to give you what I am working with.

I have written a medium level RTF aware mapi message store.

I place properties onto the messages when requested from our store which can
be read by external apps, or from exchange extensions add in we have.

But I wish to give a better integration with outlook and as such have these
fields visible within a standard mail form - or as I thought a new form
based on the basic mail form.

So say I place property DocId onto each message - how do I make a form
IPM.Note.MyClass show this field on it for each message with this message
class. Bearing in mind that they were not created using this form - they
were created using standard mail form and added to this folder possibly
through another client (not outlook) which is why I want to use this form
for viewing purposes only.

thanks in advance.
 
G

Guest

Ok it looks as if forms built in this don't seem to do what I want - they add
addition properties in a formDescription and UserProperties field which I
don't want, I want them to have values based on mapiProperties, so I have
started programatically showing values - published forms now seems to show
correctly for emails since dropping userDefined fields on item.

Now need to access mapiObject custom fields through VB code on the form.

Any Idea - started new thread for this. Also if you have any better ideas
 
S

Sue Mosher [MVP-Outlook]

You'd have to use CDO 1.21 or Redemption to get to the MAPI property tags in VBScript (not VB) code behind the form. See http://www.cdolive.com/cdo10.htm

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and 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