Programatically creating Appointment Item

A

Anup

I am trying to programatically create Appointment Items from a C# application.
One of the requirement is to insert UID specific to my application, for the
Appointment Item.

When I say "UID specific to my application", I mean:
If you create an iCal file, you can specify the UID you want.
On import, that UID is set within the AppointmentItem in Outlook.
I want to programatically set this UID for the Appointment Item.

I know "EntryID" is not the field for this and that Extended MAPI has a
field (0x80150102) where this UID is stored.

How do I set this field when creating a new AppointmentItem in Outlook?
Thanks in advance for all answers & suggestions.

P.S: I have tried to use Redemption, but I have not been able to set the
value. I can read values.
 
A

Anup

I have found the solution.

I need to first save the appointmentitem in Outlok. Outlook puts in its own
ID.
Then I need to change the ID to the ID I want and save again.

This sets the proper UID.
 

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