S
Steve*n
I've created a Seperate FormRegion for Appointments and within that form
region there is a button that has the following definition.
Outlook.AppointmentItem appt = (Outlook.AppointmentItem)this.OutlookItem;
appt.Body = CreateBody();
((Outlook._AppointmentItem)appt).Save();
((Outlook._AppointmentItem)appt).Send();
The Body of the appointment disappears under common circumstances.
If I comment out the Send() and just Save() the body will stay, even if I
close the appt and open it back up.
If I leave the Send() in then the Body will be deleted when I open the appt
back up again.
If I have two buttons, one for Save and one for Send() and I click the
Save() button first and then the Send() button the body will disappear.
However, if I click the Save() button within the custom Form Region and then
go back to the Body of the Appointment and then switch back to my Form
Region and click Send() the body will remain.
It's almost as if the Body doesn't get updated unless the Body section of
the Appointment is viewed before Sending it.
Any ideas? I've tried multiple combinations and am up to trying more if you
have an idea.
Thanks
region there is a button that has the following definition.
Outlook.AppointmentItem appt = (Outlook.AppointmentItem)this.OutlookItem;
appt.Body = CreateBody();
((Outlook._AppointmentItem)appt).Save();
((Outlook._AppointmentItem)appt).Send();
The Body of the appointment disappears under common circumstances.
If I comment out the Send() and just Save() the body will stay, even if I
close the appt and open it back up.
If I leave the Send() in then the Body will be deleted when I open the appt
back up again.
If I have two buttons, one for Save and one for Send() and I click the
Save() button first and then the Send() button the body will disappear.
However, if I click the Save() button within the custom Form Region and then
go back to the Body of the Appointment and then switch back to my Form
Region and click Send() the body will remain.
It's almost as if the Body doesn't get updated unless the Body section of
the Appointment is viewed before Sending it.
Any ideas? I've tried multiple combinations and am up to trying more if you
have an idea.
Thanks