Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: 24 Aug 2005 10:05:17 -0700,    group: microsoft.public.exchange2000.development        back       


How to create a link between a Task and a Contact using WebDAV   
Hi,

I have two Public Folders on a Exchange 2003. One stores Contacts, the
other one  stores Tasks. Now I want to get a Contact linked to a Task
using WebDAV, so that the linked Contacts are underlined in the
contacts-list of a Task and can be doubleclicked to open the Contact.

After a lot of search (thanks to Siegfried Weber) I found that 3
properties have to be set:

Contact link display names:
http://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/0x8586
Contact link entry ID's:
http://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/0x8585
Contact link search key's:
http://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/0x8584


I queried for the EntryID of a contact using the
http://schemas.microsoft.com/mapi/proptag/0x0FFF0102 property and then
tried to set the 0x8585 property of a task with this EntryID, with no
success. The name correctly appears in the contacts-list, but it's not
underlined and can't be doubleclicked.

When I manually link the same contact to two different tasks and then
query for the 0x8585 property of the tasks, they are both different,
even if it's the same contact! Does anyone know how to build this
properties correctly???

Thanks,

Dan

1.) Retrieve Contacts-EntryID:

<?xml version='1.0'?>
<a:propfind xmlns:a='DAV:'
xmlns:b='http://schemas.microsoft.com/mapi/proptag/'>
  <a:prop>
    <b:0x0FFF0102/>
  </a:prop>
</a:propfind>

Result:

AAAAABpEc5CqZhHNm8gAqgAvxFoJAOmXFfkD3bVLnY7+B4nh6YIAAAAFRpUAAOmXFfkD3bVLnY7+B4nh6YIAAAAFS5YAAA==

2.) Update Task:

<?xml version='1.0'?>
<a:propertyupdate xmlns:a='DAV:'
                  xmlns:b='urn:schemas-microsoft-com:datatypes'
                  xmlns:c='xml:'

xmlns:d='http://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/'

                  xmlns:m='http://schemas.microsoft.com/mapi/'>
  <a:set>
    <a:prop>
      <m:contacts><c:v>Test</c:v></m:contacts>
      <d:0x8584 b:dt='mv.bin.base64'>

<c:v>AAAAABpEc5CqZhHNm8gAqgAvxFoJAOmXFfkD3bVLnY7+B4nh6YIAAAAFRpUAAOmXFfkD3bVLnY7+B4nh6YIAAAAFS5YAAA==</c:v>
      </d:0x8584>
      <d:0x8585 b:dt='mv.bin.base64'>

<c:v>AAAAABpEc5CqZhHNm8gAqgAvxFoJAOmXFfkD3bVLnY7+B4nh6YIAAAAFRpUAAOmXFfkD3bVLnY7+B4nh6YIAAAAFS5YAAA==</c:v>
      </d:0x8585>
      <d:0x8586 b:dt='string'>Test</d:0x8586>
    </a:prop>
  </a:set>
</a:propertyupdate>
date: 24 Aug 2005 10:05:17 -0700   author:   Dan

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us