How to find the global unique ID of an appointment using Exchange EWS Managed API SDK 1.1
-
15 September 2011 10:27
Hi all,
I am using the Exchange EWS Managed API SDK 1.1 to implement some kind of syncing of Exchange Calendar items. In order to do that, I need to now the unique id of an appointment.
I have tried several options, and can't find the right one.
I cannot use the ItemId of the appointment because it changes when moved to another folder.
I cannot use the extended property 0x300B because when I copy an appointment in Outlook (Ctrl + drag to another day) this new appointment gets the old value of this property.
Can anyone help me finding a correct global unique id of an appointment?
Semua Balasan
-
15 September 2011 10:48
-
15 September 2011 12:19
Hi Henning,
Thanks for you response. I will try that. Is it possible to find the appointment in Exchange when I know the mailbox (smtpaddress) and its ICalUid property?
Regards,
letscode
- Diedit oleh letscode 21 September 2011 9:39
-
15 September 2011 15:28
Hi,
yes, that is possible.
See
http://www.infinitec.de/post/2009/04/13/Searching-a-meeting-with-a-specific-UID-using-Exchange-Web-Services-2007.aspx
and
http://blogs.msdn.com/b/mstehle/archive/2009/09/02/ews-uid-not-always-the-same-for-orphaned-instances-of-the-same-meeting.aspxKind regards,
Henning -
04 Januari 2012 10:23
Hi,
yes, that is possible.
See
http://www.infinitec.de/post/2009/04/13/Searching-a-meeting-with-a-specific-UID-using-Exchange-Web-Services-2007.aspx
and
http://blogs.msdn.com/b/mstehle/archive/2009/09/02/ews-uid-not-always-the-same-for-orphaned-instances-of-the-same-meeting.aspxKind regards,
HenningHello Henning,
so it looks like it is better to use the CleanGlobalUID instead of the globalUid. Is it possible to convert the IcalUID to the CleanGlobalUID like you showed with the GlobalUID on your blog?
Thanks!
-
09 Januari 2012 7:58
Hi,
nothing to here, really. If you read the article (http://blogs.msdn.com/b/mstehle/archive/2009/09/02/ews-uid-not-always-the-same-for-orphaned-instances-of-the-same-meeting.aspx), Matt writes that as of Exchange 2007 SP2, the UID is based on the clean global object id.
Kind regards,
HenningIf you get your question answered, please come back and mark the reply as an answer.
If you are helped by an answer to someone else's question, please mark it as helpful. -
09 Januari 2012 17:21
Hi,
as per my understanding you are using EWS directly right? not the Exchange Managed API? ... Would this also be possible using the EWS API?
Thanks,
Michael
Michael Sommer -
10 Januari 2012 8:07
-
01 Maret 2012 6:03
Hi, I am using EWS Managed API 1.1.5 for java. How do I get this UID for Exchange 2007? I tried the following code:
List<Item> i = new ArrayList<Item>();
appt.save();
i.add(appt);
s.loadPropertiesForItems(i, PropertySet.FirstClassProperties);
String theUID = appt.getICalUid();where s was created like:
s = new ExchangeService(ExchangeVersion.Exchange2007_SP1);
And get this error: "The request failed. No match found"
The above code, strangely enough works for exchange 2010.
- Diedit oleh PythonCoder5 01 Maret 2012 17:00 misspell
-
10 Maret 2012 6:18Can someone tell me if it is possible to get the ICalUID with Exchange 2007? I noticed that PropertySet.FirstClassProperties doesn't have any values for Exchange 2007. I have Exchange 2007 SP3 installed.