| Author |
Message |
wannaknowmore
Guest
|
Posted:
Wed Oct 26, 2005 11:42 pm Post subject:
Unique ID for Exchange |
|
|
Hello,
I have gone through a lot of postings, articles and documentation and
still have not been able to come to a concusion as to what to use as a
unique ID in exchange.
The available options are:
1. DAV:id
2. DAV:uid
3. permanenturl
4. repl-uid
But most of them change when the message is moved to another folder.
Could some please:
* which one is really unique as in it will not change even if the item
is copied to another folder etc.
* tell the different cases when to use what in the above list?
* sample of how to use the above properties in a WEBDAV query?
My initial research says that permaneneturl is most reliable. Please
correct me if I am wrong.
Is there any other property that can be accessed through WEBDAV?
Please respond.
|
|
| Back to top |
|
 |
Henning Krause [MVP - Exc
Guest
|
Posted:
Thu Oct 27, 2005 12:19 am Post subject:
Re: Unique ID for Exchange |
|
|
Hello,
You are right, there is no unique id that is fixed even if the item is
modified. Even DAV:permanenturl has the folder id in it. If your solution
depends on a permanent ID, you should consider adding your own to the items
under your control. It's not perfect, I know...
Greetings,
Henning Krause
MVP - Exchange
http://www.infinitec.de
"wannaknowmore" <justsubscribe@gmail.com> wrote in message
news:1130352176.068920.134700@z14g2000cwz.googlegroups.com...
| Quote: | Hello,
I have gone through a lot of postings, articles and documentation and
still have not been able to come to a concusion as to what to use as a
unique ID in exchange.
The available options are:
1. DAV:id
2. DAV:uid
3. permanenturl
4. repl-uid
But most of them change when the message is moved to another folder.
Could some please:
* which one is really unique as in it will not change even if the item
is copied to another folder etc.
* tell the different cases when to use what in the above list?
* sample of how to use the above properties in a WEBDAV query?
My initial research says that permaneneturl is most reliable. Please
correct me if I am wrong.
Is there any other property that can be accessed through WEBDAV?
Please respond.
|
|
|
| Back to top |
|
 |
Dmitry Streblechenko
Guest
|
Posted:
Thu Oct 27, 2005 12:59 am Post subject:
Re: Unique ID for Exchange |
|
|
Try to use PR_SEARCH_KEY (0x300B0102) Extended MAPI property -
http://schemas.microsoft.com/mapi/proptag/0x300B0102
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"wannaknowmore" <justsubscribe@gmail.com> wrote in message
news:1130352176.068920.134700@z14g2000cwz.googlegroups.com...
| Quote: | Hello,
I have gone through a lot of postings, articles and documentation and
still have not been able to come to a concusion as to what to use as a
unique ID in exchange.
The available options are:
1. DAV:id
2. DAV:uid
3. permanenturl
4. repl-uid
But most of them change when the message is moved to another folder.
Could some please:
* which one is really unique as in it will not change even if the item
is copied to another folder etc.
* tell the different cases when to use what in the above list?
* sample of how to use the above properties in a WEBDAV query?
My initial research says that permaneneturl is most reliable. Please
correct me if I am wrong.
Is there any other property that can be accessed through WEBDAV?
Please respond.
|
|
|
| Back to top |
|
 |
wannaknowmore
Guest
|
|
| Back to top |
|
 |
wannaknowmore
Guest
|
Posted:
Thu Oct 27, 2005 11:02 pm Post subject:
Re: Unique ID for Exchange |
|
|
Hello Henning,
Items are NOT under my control. So in that case what would you say is a
beter bet (if we put the constraint that messages will not be moved or
modified - except for their status changing from unread to read).
Is DAV:permanenturl the best fit given the situation?
Thanks in advance. |
|
| Back to top |
|
 |
Dmitry Streblechenko
Guest
|
Posted:
Thu Oct 27, 2005 11:38 pm Post subject:
Re: Unique ID for Exchange |
|
|
That's an Exchange property and I don't see that property going away any
time soon.
That wasn't a link, but a DASL schema property name that you would need to
use in your WebDAV code.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"wannaknowmore" <justsubscribe@gmail.com> wrote in message
news:1130435690.788516.226280@g47g2000cwa.googlegroups.com...
|
|
| Back to top |
|
 |
|
|
|
|