Message class changes of a custom form changes to the default form

Outlook version
Outlook 2016 32 bit
Email Account
Outlook.com (as MS Exchange)
#1
Hello all,

I have another issue with custom forms. It appears that when UserProperties are accessed, the MessageClass of the form, an appointment in my case, reverts back to the default appointment message class. This is unfortunate since I check hundreds of appointments based on their message class: the custom ones need to be treated differently from the default ones.

I read someting along these lines at: How to automatically refresh an appointment windows after changing the MessageClass property ?

How can I overcome this issue ? I guess that I could check on either the name of the custom apptmt. message class, either the default name but then there should be an additional check that can distinguish between both forms. Like a UserProperty that does not exist in the default appointment form.

Has anyone experienced this before ?

Best regards, thanks,

Wim
 
Outlook version
Outlook 2016 32 bit
Email Account
Outlook.com (as MS Exchange)
#3
Thank you Diane.

I narrowed down the problem more and it seems to only (?) change messageclass when I add or delete a UserProperty through code.
If this is the case, I know where exactly in the code I handle this, such that I can:
1. retrieve the message class
2. do my stuff
3. revert to that message class if it changed

I will implement it like this and see how I get on afterwards.

Thanks

Wim
 
Top