Re: userproperties do not persist in msg file

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



This is new behavior: http://support.microsoft.com/kb/907985

Custom properties can also be saved in .msg files and in .oft files. If a
user opens a .msg file that has custom properties, those custom properties
are not saved to the default store when the message is saved, forwarded, and
so on. Typically, .oft files are used to back up Outlook custom forms. With
..oft files, the new behavior applies to all kinds of items. The custom form
will not open. Instead, the message will appear in the default form for that
particular item type.


--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"matvdl" <matvdl@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A7BFAF69-2EA9-44A7-81BB-47C530EDB8D1@xxxxxxxxxxxxxxxx
Dmitry,

This never used to happen - our system saves email files from outlook into
a
custom file system that relate to projects that we work on. This has been
the case for many years and I have never had this issue.

Something has gone wrong with this one machine (this is the development
machine) that is causing a different behavior to other machines in the
office.

The only thing that may be related to this is that I recently attempted to
create a customer form for reading emails - after some attempts I found
that
this was not going to satisfy my needs. In the process I changed the
default
form for reading emails by using the "Forms Administrator" for outlook. I
have followed the instructions to place this back to the IPM.Note form -
but
I am concerned that this has left something un-done.

Another possible telltale sign of the issue may be when I save a oft file.
I open a message from the inbox and save this as an oft file onto the
desktop. If I than open this I get an error message indicating "The
custom
form could not be opened. Outlook will use an Outlook form instead".

If I carry out the exact same actions on another machine I do not get this
error.

Somehow I think that the issue relates to custom forms.

Any suggestions?
--
Matthew


"Dmitry Streblechenko" wrote:

Keep in mind that when you open an MSG file, Outlook creates a temporary
item in the default store and copies the MSG file properties there, so
double clicking on an MSG file or dragging it back to an Outlook folder
ends
up doing the same thing.
The user properties are saved in the MSG file, but it looks like Outlook
does not copy them back it creates a new item from the MSG file.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"matvdl" <matvdl@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:10CC6B11-612B-4D8B-9141-388F0D9785F6@xxxxxxxxxxxxxxxx
A couple of ways.

To open the msg file I open it from the desktop by double clicking the
msg
file that was previously saved there. To see if the user properties
are
there I can go to Tool-Forms-Design this form. Than go to "all fields"
tab
and look at UserDefined fields.

The second method is via code. I have some code that attempts to read
the
userproperties when the email is open - the userproperties collection
is
always empty.

If I copy this msg file to another computer and check for the user
properties in exactly the same way they are there.

By the way - I am using outlook 2003.

--
matthew


"Dmitry Streblechenko" wrote:

How exactly do you open the saved MSG file and verify that the user
properties do not exist?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"matvdl" <matvdl@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9431E9FA-EF9F-4406-96FA-36DC53A4EFA2@xxxxxxxxxxxxxxxx
I have an issue - when I save an email message that has userdefined
fields
in
the email to a msg file - the field do not to persist in the saved
msg
file.

After saving the file - if I open the email from the saved version
it
does
not have the user defined fields available. BUT - If I copy this
file
to
another computer with the same version of outlook and open the msg
the
userproperties are available. The same is true for the revers - if
I
save
a
file on the other computer - the properties are available on this
computer -
but if I copy the file to the computer with the issue - they are not
available.

I am not using a custom form. I have also tried to clear the forms
cache
by
renaming the .dat file - this did not work.

BUT - I did try and developer a custom form on the machine with the
issue -
I believe that I am using the default form now - but still have this
issue.

I have tried re-installing outlook with no luck


--
matthew








.



Relevant Pages

  • Re: userproperties do not persist in msg file
    ... Custom properties can also be saved in .msg files and in .oft files. ... user opens a .msg file that has custom properties, ... .oft files are used to back up Outlook custom forms. ...
    (microsoft.public.outlook.program_forms)
  • Re: userproperties do not persist in msg file
    ... temporary message in the default profile store and copies the MSG file ... OutlookSpy - Outlook, CDO ... "Custom properties can also be saved in .msg files and in .oft files. ... user opens a .msg file that has custom properties, ...
    (microsoft.public.outlook.program_forms)
  • Re: userproperties do not persist in msg file
    ... Basicly it indicates that there are circumstances where the custom ... user opens a .msg file that has custom properties, ... .oft files are used to back up Outlook custom forms. ...
    (microsoft.public.outlook.program_forms)
  • Re: userproperties do not persist in msg file
    ... Custom properties can also be saved in .msg files and in .oft files. ... user opens a .msg file that has custom properties, ... .oft files are used to back up Outlook custom forms. ...
    (microsoft.public.outlook.program_forms)
  • Re: Outlook Problems
    ... connection that it was in fact a Custom Form... ... I posted a question in the Outlook group about this, ... it's not anything on the server. ... it opens up just fine... ...
    (microsoft.public.windows.server.sbs)