Add a bolded text in a meeting body field

Add-in Express™ Support Service
That's what is more important than anything else

Add a bolded text in a meeting body field
 
Udi Azulay




Posts: 48
Joined: 2007-06-18
Hi,

How do Add a bolded text in a meeting body field?

Thanks,
Udi
Posted 08 Aug, 2008 12:58:12 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Udi,

Do you use the HTML format of messages? If yes, you need to change HTML markup with
[b]your bold text here[/b]
. To get the HTML content of the MeetingItem class you may use the MAPI Store Accessor. Use the PR_HTML property.
.NET, Extended MAPI, Windows Phone & RT
Posted 11 Aug, 2008 02:23:36 Top
Udi Azulay




Posts: 48
Joined: 2007-06-18
NO - I am using outlook 2007 with AppointmentItem and i can not find the HTML property...

with the MAPI Store - i ge the PR_HTML to return null

isn't it should be RTF in the appointment items?

How do i keep the same format while changing the body?

Udi
Posted 13 Aug, 2008 05:56:27 Top
Sergey Grischenko


Add-in Express team


Posts: 7230
Joined: 2004-07-05
Hi Udi.

Please try to use the 'PropertyAccessor' property of an appointment to access the PR_HTML property.
http://msdn.microsoft.com/en-us/library/bb176395.aspx

Posted 13 Aug, 2008 06:39:26 Top
Udi Azulay




Posts: 48
Joined: 2007-06-18
Hi,

1) i cannot find the 'PropertyAccessor' of an ppointment item... please advice.

2) when i run this : (ActiveMeeting is not null)

object obj = adxmapiStoreAccessor1.GetProperty(ActiveMeeting, AddinExpress.MAPI.ADXMAPIPropertyTag._PR_HTML);

i always get null.

Udi
Posted 13 Aug, 2008 07:20:54 Top
Udi Azulay




Posts: 48
Joined: 2007-06-18
By the way i am using office 2007, and i am not sure it uses HTML but an RTF ...
Posted 13 Aug, 2008 07:33:36 Top
Sergey Grischenko


Add-in Express team


Posts: 7230
Joined: 2004-07-05
You can find the 'PropertyAccessor' property in the Outlook._AppointmentItem interface (see the link above).
Posted 13 Aug, 2008 17:58:25 Top