hi , I have created a DL in exchange 2k7 using "PROPPATCH" method. but i am not able to add members to the DL using webdav. Any clue? -Sumeet
I would suggest having a read of http://groups.google.com.au/group/microsoft.public.exchange2000.development/browse_thread/thread/610ac0fb3bb21703/f61e52eefb86d0c9 Cheers Glen "sumeetpk" wrote in message news:46E85006-B6A2-4D31-9932-F4A3D79D8122@microsoft.com... > hi , > > I have created a DL in exchange 2k7 using "PROPPATCH" method. > but i am not able to add members to the DL using webdav. > Any clue? > > -Sumeet >
Thanks Glenn, I am trying the sample. In the sample a new contact has been created and then we are getting its Entry ID. but if I dont create the new contact and add the existing contact from Address book or outside address book to created DL. Then how do we get the entry id for Contacts added into the DL? -Sumeet "Glen Scales [MVP]" wrote: > I would suggest having a read of > http://groups.google.com.au/group/microsoft.public.exchange2000.development/browse_thread/thread/610ac0fb3bb21703/f61e52eefb86d0c9 > > Cheers > Glen > > "sumeetpk" wrote in message > news:46E85006-B6A2-4D31-9932-F4A3D79D8122@microsoft.com... > > hi , > > > > I have created a DL in exchange 2k7 using "PROPPATCH" method. > > but i am not able to add members to the DL using webdav. > > Any clue? > > > > -Sumeet > > > > >
Hi Glenn .. I have tried the steps mentioned in link suggested but I am not able to populate the DL with Contacts. There is no error in Response but Contact is not populated. Query used for populating the DL is: <?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/{00062004-0000-0000-C000- 000000000046}/' xmlns:e='urn:schemas:groups:' xmlns:f='http://schemas.microsoft.com/exchange/' xmlns:g='http://schemas.microsoft.com/mapi/proptag/' xmlns:h='urn:schemas:contacts:' xmlns:i='http://schemas.microsoft.com/mapi/id/{00062004-0000-0000-C000- 000000000046}/' xmlns:j='http://schemas.microsoft.com/mapi/id/{00062008- 0000-0000-C000-000000000046}/'> <a:set> <a:prop> <e:content-class>urn:content-classes:group</e:content-class> <f:outlookmessageclass>IPM.DistList</f:outlookmessageclass> <h:fileas>#Name#</h:fileas> <g:0x0037001E>#Name#</g:0x0037001E> <g:0x0070001E>#Name#</g:0x0070001E> <i:0x8552 b:dt='int'>102627</i:0x8552> <j:0x8053 b:dt='string'>#Name#</j:0x8053> <d:0x8055 b:dt='mv.bin.base64'> b:dt='mv.bin.base64'><c:v>AAAAAMCRrdNRnc8RpKkAqgBH+qTDAAAAALcYDMSUsF5Bq0vLQ4j14OcHAO+VIDNPpG5Gq6TZYWba004AAAAAAFcAAO+VIDNPpG5Gq6TZYWba004AADS01QwAAA==</c:v></d:0x8055><d:0x8054 b:dt='mv.bin.base64'><c:v>AAAAAMCRrdNRnc8RpKkAqgBH+qTDAAAAALcYDMSUsF5Bq0vLQ4j14OcHAO+VIDNPpG5Gq6TZYWba004AAAAAAFcAAO+VIDNPpG5Gq6TZYWba004AADS01QwAAA==</c:v></d:0x8054> </a:prop> </a:set> </a:propertyupdate> Regards Sumeet "sumeetpk" wrote: > Thanks Glenn, > > I am trying the sample. > In the sample a new contact has been created and then we are getting its > Entry ID. > but if I dont create the new contact and add the existing contact from > Address book or outside address book to created DL. > Then how do we get the entry id for Contacts added into the DL? > > -Sumeet > > "Glen Scales [MVP]" wrote: > > > I would suggest having a read of > > http://groups.google.com.au/group/microsoft.public.exchange2000.development/browse_thread/thread/610ac0fb3bb21703/f61e52eefb86d0c9 > > > > Cheers > > Glen > > > > "sumeetpk" wrote in message > > news:46E85006-B6A2-4D31-9932-F4A3D79D8122@microsoft.com... > > > hi , > > > > > > I have created a DL in exchange 2k7 using "PROPPATCH" method. > > > but i am not able to add members to the DL using webdav. > > > Any clue? > > > > > > -Sumeet > > > > > > > > >
The 0x8054 property should hold the MAPI one-off entry Identifier for the contact which you should be able to generate using http://msdn2.microsoft.com/en-us/library/ms529856(VS.85).aspx. I would suggest using a Mapi editor (like Outlookspy or MfcMapi32) and then compare the values your setting against a DL that you create and populate using the normal client like Outlook or OWA. Unfortunately there is no easy way to go about this but if you whiling to spend a few hours patiently reverse engineering it you should be able to do this. (sorry I haven't done it myself else I would have posted some code). Good luck and if you feel like sharing your efforts I think other people would appreciate it. Cheers Glen "sumeetpk" wrote in message news:D9BFC513-AAE0-4B6A-A8F1-91D175F56F48@microsoft.com... > Hi Glenn .. > > I have tried the steps mentioned in link suggested but I am not able to > populate the DL with Contacts. > There is no error in Response but Contact is not populated. > > Query used for populating the DL is: > > <?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/{00062004-0000-0000-C000- > 000000000046}/' xmlns:e='urn:schemas:groups:' > xmlns:f='http://schemas.microsoft.com/exchange/' > xmlns:g='http://schemas.microsoft.com/mapi/proptag/' > xmlns:h='urn:schemas:contacts:' > xmlns:i='http://schemas.microsoft.com/mapi/id/{00062004-0000-0000-C000- > 000000000046}/' xmlns:j='http://schemas.microsoft.com/mapi/id/{00062008- > 0000-0000-C000-000000000046}/'> > <a:set> > <a:prop> > > <e:content-class>urn:content-classes:group</e:content-class> > > <f:outlookmessageclass>IPM.DistList</f:outlookmessageclass> > > <h:fileas>#Name#</h:fileas> > > <g:0x0037001E>#Name#</g:0x0037001E> > > <g:0x0070001E>#Name#</g:0x0070001E> > <i:0x8552 > b:dt='int'>102627</i:0x8552> > <j:0x8053 > b:dt='string'>#Name#</j:0x8053> > <d:0x8055 > b:dt='mv.bin.base64'> > b:dt='mv.bin.base64'><c:v>AAAAAMCRrdNRnc8RpKkAqgBH+qTDAAAAALcYDMSUsF5Bq0vLQ4j14OcHAO+VIDNPpG5Gq6TZYWba004AAAAAAFcAAO+VIDNPpG5Gq6TZYWba004AADS01QwAAA==</c:v></d:0x8055><d:0x8054 > b:dt='mv.bin.base64'><c:v>AAAAAMCRrdNRnc8RpKkAqgBH+qTDAAAAALcYDMSUsF5Bq0vLQ4j14OcHAO+VIDNPpG5Gq6TZYWba004AAAAAAFcAAO+VIDNPpG5Gq6TZYWba004AADS01QwAAA==</c:v></d:0x8054> > </a:prop> > </a:set> > </a:propertyupdate> > > Regards > Sumeet > > > "sumeetpk" wrote: > >> Thanks Glenn, >> >> I am trying the sample. >> In the sample a new contact has been created and then we are getting its >> Entry ID. >> but if I dont create the new contact and add the existing contact from >> Address book or outside address book to created DL. >> Then how do we get the entry id for Contacts added into the DL? >> >> -Sumeet >> >> "Glen Scales [MVP]" wrote: >> >> > I would suggest having a read of >> > http://groups.google.com.au/group/microsoft.public.exchange2000.development/browse_thread/thread/610ac0fb3bb21703/f61e52eefb86d0c9 >> > >> > Cheers >> > Glen >> > >> > "sumeetpk" wrote in message >> > news:46E85006-B6A2-4D31-9932-F4A3D79D8122@microsoft.com... >> > > hi , >> > > >> > > I have created a DL in exchange 2k7 using "PROPPATCH" method. >> > > but i am not able to add members to the DL using webdav. >> > > Any clue? >> > > >> > > -Sumeet >> > > >> > >> > >> >
Thanks Glenn... but things are not working for me:( As mentioned earlier - not able to populate the DL with Contact with the steps mentioned by Ben. Contact which i am trying to Add is newly created in Contact folder. -Sumeet "Glen Scales [MVP]" wrote: > The 0x8054 property should hold the MAPI one-off entry Identifier for the > contact which you should be able to generate using > http://msdn2.microsoft.com/en-us/library/ms529856(VS.85).aspx. > > I would suggest using a Mapi editor (like Outlookspy or MfcMapi32) and then > compare the values your setting against a DL that you create and populate > using the normal client like Outlook or OWA. Unfortunately there is no easy > way to go about this but if you whiling to spend a few hours patiently > reverse engineering it you should be able to do this. (sorry I haven't done > it myself else I would have posted some code). Good luck and if you feel > like sharing your efforts I think other people would appreciate it. > > Cheers > Glen > > "sumeetpk" wrote in message > news:D9BFC513-AAE0-4B6A-A8F1-91D175F56F48@microsoft.com... > > Hi Glenn .. > > > > I have tried the steps mentioned in link suggested but I am not able to > > populate the DL with Contacts. > > There is no error in Response but Contact is not populated. > > > > Query used for populating the DL is: > > > > <?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/{00062004-0000-0000-C000- > > 000000000046}/' xmlns:e='urn:schemas:groups:' > > xmlns:f='http://schemas.microsoft.com/exchange/' > > xmlns:g='http://schemas.microsoft.com/mapi/proptag/' > > xmlns:h='urn:schemas:contacts:' > > xmlns:i='http://schemas.microsoft.com/mapi/id/{00062004-0000-0000-C000- > > 000000000046}/' xmlns:j='http://schemas.microsoft.com/mapi/id/{00062008- > > 0000-0000-C000-000000000046}/'> > > <a:set> > > <a:prop> > > > > <e:content-class>urn:content-classes:group</e:content-class> > > > > <f:outlookmessageclass>IPM.DistList</f:outlookmessageclass> > > > > <h:fileas>#Name#</h:fileas> > > > > <g:0x0037001E>#Name#</g:0x0037001E> > > > > <g:0x0070001E>#Name#</g:0x0070001E> > > <i:0x8552 > > b:dt='int'>102627</i:0x8552> > > <j:0x8053 > > b:dt='string'>#Name#</j:0x8053> > > <d:0x8055 > > b:dt='mv.bin.base64'> > > b:dt='mv.bin.base64'><c:v>AAAAAMCRrdNRnc8RpKkAqgBH+qTDAAAAALcYDMSUsF5Bq0vLQ4j14OcHAO+VIDNPpG5Gq6TZYWba004AAAAAAFcAAO+VIDNPpG5Gq6TZYWba004AADS01QwAAA==</c:v></d:0x8055><d:0x8054 > > b:dt='mv.bin.base64'><c:v>AAAAAMCRrdNRnc8RpKkAqgBH+qTDAAAAALcYDMSUsF5Bq0vLQ4j14OcHAO+VIDNPpG5Gq6TZYWba004AAAAAAFcAAO+VIDNPpG5Gq6TZYWba004AADS01QwAAA==</c:v></d:0x8054> > > </a:prop> > > </a:set> > > </a:propertyupdate> > > > > Regards > > Sumeet > > > > > > "sumeetpk" wrote: > > > >> Thanks Glenn, > >> > >> I am trying the sample. > >> In the sample a new contact has been created and then we are getting its > >> Entry ID. > >> but if I dont create the new contact and add the existing contact from > >> Address book or outside address book to created DL. > >> Then how do we get the entry id for Contacts added into the DL? > >> > >> -Sumeet > >> > >> "Glen Scales [MVP]" wrote: > >> > >> > I would suggest having a read of > >> > http://groups.google.com.au/group/microsoft.public.exchange2000.development/browse_thread/thread/610ac0fb3bb21703/f61e52eefb86d0c9 > >> > > >> > Cheers > >> > Glen > >> > > >> > "sumeetpk" wrote in message > >> > news:46E85006-B6A2-4D31-9932-F4A3D79D8122@microsoft.com... > >> > > hi , > >> > > > >> > > I have created a DL in exchange 2k7 using "PROPPATCH" method. > >> > > but i am not able to add members to the DL using webdav. > >> > > Any clue? > >> > > > >> > > -Sumeet > >> > > > >> > > >> > > >> > > > >
Glenn... finally i was able to resolve the issue ....by using Mapi property named http://schemas.microsoft.com/mapi/Dlmembers http://schemas.microsoft.com/mapi/Dloneoffmembers This helped me to inject the members of DL. This is same as property 0x8054/0x8055 .... and as suggested by Ben... but doing it with dlmembers/dloneofmembers it worked for me:) Cheers Sumeet "sumeetpk" wrote: > Thanks Glenn... > > but things are not working for me:( > As mentioned earlier - not able to populate the DL with Contact with the > steps mentioned by Ben. > Contact which i am trying to Add is newly created in Contact folder. > > -Sumeet > > > "Glen Scales [MVP]" wrote: > > > The 0x8054 property should hold the MAPI one-off entry Identifier for the > > contact which you should be able to generate using > > http://msdn2.microsoft.com/en-us/library/ms529856(VS.85).aspx. > > > > I would suggest using a Mapi editor (like Outlookspy or MfcMapi32) and then > > compare the values your setting against a DL that you create and populate > > using the normal client like Outlook or OWA. Unfortunately there is no easy > > way to go about this but if you whiling to spend a few hours patiently > > reverse engineering it you should be able to do this. (sorry I haven't done > > it myself else I would have posted some code). Good luck and if you feel > > like sharing your efforts I think other people would appreciate it. > > > > Cheers > > Glen > > > > "sumeetpk" wrote in message > > news:D9BFC513-AAE0-4B6A-A8F1-91D175F56F48@microsoft.com... > > > Hi Glenn .. > > > > > > I have tried the steps mentioned in link suggested but I am not able to > > > populate the DL with Contacts. > > > There is no error in Response but Contact is not populated. > > > > > > Query used for populating the DL is: > > > > > > <?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/{00062004-0000-0000-C000- > > > 000000000046}/' xmlns:e='urn:schemas:groups:' > > > xmlns:f='http://schemas.microsoft.com/exchange/' > > > xmlns:g='http://schemas.microsoft.com/mapi/proptag/' > > > xmlns:h='urn:schemas:contacts:' > > > xmlns:i='http://schemas.microsoft.com/mapi/id/{00062004-0000-0000-C000- > > > 000000000046}/' xmlns:j='http://schemas.microsoft.com/mapi/id/{00062008- > > > 0000-0000-C000-000000000046}/'> > > > <a:set> > > > <a:prop> > > > > > > <e:content-class>urn:content-classes:group</e:content-class> > > > > > > <f:outlookmessageclass>IPM.DistList</f:outlookmessageclass> > > > > > > <h:fileas>#Name#</h:fileas> > > > > > > <g:0x0037001E>#Name#</g:0x0037001E> > > > > > > <g:0x0070001E>#Name#</g:0x0070001E> > > > <i:0x8552 > > > b:dt='int'>102627</i:0x8552> > > > <j:0x8053 > > > b:dt='string'>#Name#</j:0x8053> > > > <d:0x8055 > > > b:dt='mv.bin.base64'> > > > b:dt='mv.bin.base64'><c:v>AAAAAMCRrdNRnc8RpKkAqgBH+qTDAAAAALcYDMSUsF5Bq0vLQ4j14OcHAO+VIDNPpG5Gq6TZYWba004AAAAAAFcAAO+VIDNPpG5Gq6TZYWba004AADS01QwAAA==</c:v></d:0x8055><d:0x8054 > > > b:dt='mv.bin.base64'><c:v>AAAAAMCRrdNRnc8RpKkAqgBH+qTDAAAAALcYDMSUsF5Bq0vLQ4j14OcHAO+VIDNPpG5Gq6TZYWba004AAAAAAFcAAO+VIDNPpG5Gq6TZYWba004AADS01QwAAA==</c:v></d:0x8054> > > > </a:prop> > > > </a:set> > > > </a:propertyupdate> > > > > > > Regards > > > Sumeet > > > > > > > > > "sumeetpk" wrote: > > > > > >> Thanks Glenn, > > >> > > >> I am trying the sample. > > >> In the sample a new contact has been created and then we are getting its > > >> Entry ID. > > >> but if I dont create the new contact and add the existing contact from > > >> Address book or outside address book to created DL. > > >> Then how do we get the entry id for Contacts added into the DL? > > >> > > >> -Sumeet > > >> > > >> "Glen Scales [MVP]" wrote: > > >> > > >> > I would suggest having a read of > > >> > http://groups.google.com.au/group/microsoft.public.exchange2000.development/browse_thread/thread/610ac0fb3bb21703/f61e52eefb86d0c9 > > >> > > > >> > Cheers > > >> > Glen > > >> > > > >> > "sumeetpk" wrote in message > > >> > news:46E85006-B6A2-4D31-9932-F4A3D79D8122@microsoft.com... > > >> > > hi , > > >> > > > > >> > > I have created a DL in exchange 2k7 using "PROPPATCH" method. > > >> > > but i am not able to add members to the DL using webdav. > > >> > > Any clue? > > >> > > > > >> > > -Sumeet > > >> > > > > >> > > > >> > > > >> > > > > > > >
It would be nice if you could post your code to help others out (if possible) ? Cheers Glen "sumeetpk" wrote in message news:D61400B3-2588-43D5-93A6-97584B24DCD6@microsoft.com... > Glenn... > finally i was able to resolve the issue ....by using Mapi property > named > http://schemas.microsoft.com/mapi/Dlmembers > http://schemas.microsoft.com/mapi/Dloneoffmembers > This helped me to inject the members of DL. This is same as property > 0x8054/0x8055 .... and as suggested by Ben... > but doing it with dlmembers/dloneofmembers it worked for me:) > > Cheers > Sumeet > > "sumeetpk" wrote: > >> Thanks Glenn... >> >> but things are not working for me:( >> As mentioned earlier - not able to populate the DL with Contact with the >> steps mentioned by Ben. >> Contact which i am trying to Add is newly created in Contact folder. >> >> -Sumeet >> >> >> "Glen Scales [MVP]" wrote: >> >> > The 0x8054 property should hold the MAPI one-off entry Identifier for >> > the >> > contact which you should be able to generate using >> > http://msdn2.microsoft.com/en-us/library/ms529856(VS.85).aspx. >> > >> > I would suggest using a Mapi editor (like Outlookspy or MfcMapi32) and >> > then >> > compare the values your setting against a DL that you create and >> > populate >> > using the normal client like Outlook or OWA. Unfortunately there is no >> > easy >> > way to go about this but if you whiling to spend a few hours patiently >> > reverse engineering it you should be able to do this. (sorry I haven't >> > done >> > it myself else I would have posted some code). Good luck and if you >> > feel >> > like sharing your efforts I think other people would appreciate it. >> > >> > Cheers >> > Glen >> > >> > "sumeetpk" wrote in message >> > news:D9BFC513-AAE0-4B6A-A8F1-91D175F56F48@microsoft.com... >> > > Hi Glenn .. >> > > >> > > I have tried the steps mentioned in link suggested but I am not able >> > > to >> > > populate the DL with Contacts. >> > > There is no error in Response but Contact is not populated. >> > > >> > > Query used for populating the DL is: >> > > >> > > <?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/{00062004-0000-0000-C000- >> > > 000000000046}/' xmlns:e='urn:schemas:groups:' >> > > xmlns:f='http://schemas.microsoft.com/exchange/' >> > > xmlns:g='http://schemas.microsoft.com/mapi/proptag/' >> > > xmlns:h='urn:schemas:contacts:' >> > > xmlns:i='http://schemas.microsoft.com/mapi/id/{00062004-0000-0000-C000- >> > > 000000000046}/' >> > > xmlns:j='http://schemas.microsoft.com/mapi/id/{00062008- >> > > 0000-0000-C000-000000000046}/'> >> > > <a:set> >> > > <a:prop> >> > > >> > > <e:content-class>urn:content-classes:group</e:content-class> >> > > >> > > <f:outlookmessageclass>IPM.DistList</f:outlookmessageclass> >> > > >> > > <h:fileas>#Name#</h:fileas> >> > > >> > > <g:0x0037001E>#Name#</g:0x0037001E> >> > > >> > > <g:0x0070001E>#Name#</g:0x0070001E> >> > > >> > > <i:0x8552 >> > > b:dt='int'>102627</i:0x8552> >> > > >> > > <j:0x8053 >> > > b:dt='string'>#Name#</j:0x8053> >> > > >> > > <d:0x8055 >> > > b:dt='mv.bin.base64'> >> > > b:dt='mv.bin.base64'><c:v>AAAAAMCRrdNRnc8RpKkAqgBH+qTDAAAAALcYDMSUsF5Bq0vLQ4j14OcHAO+VIDNPpG5Gq6TZYWba004AAAAAAFcAAO+VIDNPpG5Gq6TZYWba004AADS01QwAAA==</c:v></d:0x8055><d:0x8054 >> > > b:dt='mv.bin.base64'><c:v>AAAAAMCRrdNRnc8RpKkAqgBH+qTDAAAAALcYDMSUsF5Bq0vLQ4j14OcHAO+VIDNPpG5Gq6TZYWba004AAAAAAFcAAO+VIDNPpG5Gq6TZYWba004AADS01QwAAA==</c:v></d:0x8054> >> > > </a:prop> >> > > </a:set> >> > > </a:propertyupdate> >> > > >> > > Regards >> > > Sumeet >> > > >> > > >> > > "sumeetpk" wrote: >> > > >> > >> Thanks Glenn, >> > >> >> > >> I am trying the sample. >> > >> In the sample a new contact has been created and then we are getting >> > >> its >> > >> Entry ID. >> > >> but if I dont create the new contact and add the existing contact >> > >> from >> > >> Address book or outside address book to created DL. >> > >> Then how do we get the entry id for Contacts added into the DL? >> > >> >> > >> -Sumeet >> > >> >> > >> "Glen Scales [MVP]" wrote: >> > >> >> > >> > I would suggest having a read of >> > >> > http://groups.google.com.au/group/microsoft.public.exchange2000.development/browse_thread/thread/610ac0fb3bb21703/f61e52eefb86d0c9 >> > >> > >> > >> > Cheers >> > >> > Glen >> > >> > >> > >> > "sumeetpk" wrote in message >> > >> > news:46E85006-B6A2-4D31-9932-F4A3D79D8122@microsoft.com... >> > >> > > hi , >> > >> > > >> > >> > > I have created a DL in exchange 2k7 using "PROPPATCH" method. >> > >> > > but i am not able to add members to the DL using webdav. >> > >> > > Any clue? >> > >> > > >> > >> > > -Sumeet >> > >> > > >> > >> > >> > >> > >> > >> > >> > >> > >> >