|
| Author |
Message |
sumeetpk
Joined: 27 Dec 2007 Posts: 14
|
Posted: Wed Jan 02, 2008 4:26 am Post subject: how to add Contact in Distribution List in Exchange 2007 usi |
|
|
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
Archived from group: microsoft>public>exchange>development |
|
| Back to top |
|
 |
Glen Scales [MVP]
Joined: 05 Aug 2007 Posts: 92
|
|
| Back to top |
|
 |
sumeetpk
Joined: 27 Dec 2007 Posts: 14
|
Posted: Fri Jan 04, 2008 4:49 am Post subject: Re: how to add Contact in Distribution List in Exchange 2007 |
|
|
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
> @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
> >
>
>
> |
|
| Back to top |
|
 |
sumeetpk
Joined: 27 Dec 2007 Posts: 14
|
Posted: Fri Jan 04, 2008 8:48 am Post subject: Re: how to add Contact in Distribution List in Exchange 2007 |
|
|
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:
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}/'>
urn:content-classes:group
IPM.DistList
#Name#
#Name#
#Name#
b:dt='int'>102627
b:dt='string'>#Name#
b:dt='mv.bin.base64'>
b:dt='mv.bin.base64'>AAAAAMCRrdNRnc8RpKkAqgBH+qTDAAAAALcYDMSUsF5Bq0vLQ4j14OcHAO+VIDNPpG5Gq6TZYWba004AAAAAAFcAAO+VIDNPpG5Gq6TZYWba004AADS01QwAAA==
b:dt='mv.bin.base64'>AAAAAMCRrdNRnc8RpKkAqgBH+qTDAAAAALcYDMSUsF5Bq0vLQ4j14OcHAO+VIDNPpG5Gq6TZYWba004AAAAAAFcAAO+VIDNPpG5Gq6TZYWba004AADS01QwAAA==
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
> > @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
> > >
> >
> >
> > |
|
| Back to top |
|
 |
Glen Scales [MVP]
Joined: 05 Aug 2007 Posts: 92
|
Posted: Mon Jan 07, 2008 4:05 pm Post subject: Re: how to add Contact in Distribution List in Exchange 2007 |
|
|
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 @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:
>
>
>
> 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}/'>
>
>
>
> urn:content-classes:group
>
> IPM.DistList
>
> #Name#
>
> #Name#
>
> #Name#
>
> b:dt='int'>102627
>
> b:dt='string'>#Name#
>
> b:dt='mv.bin.base64'>
> b:dt='mv.bin.base64'>AAAAAMCRrdNRnc8RpKkAqgBH+qTDAAAAALcYDMSUsF5Bq0vLQ4j14OcHAO+VIDNPpG5Gq6TZYWba004AAAAAAFcAAO+VIDNPpG5Gq6TZYWba004AADS01QwAAA==
> b:dt='mv.bin.base64'>AAAAAMCRrdNRnc8RpKkAqgBH+qTDAAAAALcYDMSUsF5Bq0vLQ4j14OcHAO+VIDNPpG5Gq6TZYWba004AAAAAAFcAAO+VIDNPpG5Gq6TZYWba004AADS01QwAAA==
>
>
>
>
> 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
>> > @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
>> > >
>> >
>> >
>> > |
|
| Back to top |
|
 |
sumeetpk
Joined: 27 Dec 2007 Posts: 14
|
Posted: Mon Jan 07, 2008 9:54 am Post subject: Re: how to add Contact in Distribution List in Exchange 2007 |
|
|
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
> @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:
> >
> >
> >
> > 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}/'>
> >
> >
> >
> > urn:content-classes:group
> >
> > IPM.DistList
> >
> > #Name#
> >
> > #Name#
> >
> > #Name#
> >
> > b:dt='int'>102627
> >
> > b:dt='string'>#Name#
> >
> > b:dt='mv.bin.base64'>
> > b:dt='mv.bin.base64'>AAAAAMCRrdNRnc8RpKkAqgBH+qTDAAAAALcYDMSUsF5Bq0vLQ4j14OcHAO+VIDNPpG5Gq6TZYWba004AAAAAAFcAAO+VIDNPpG5Gq6TZYWba004AADS01QwAAA==
> > b:dt='mv.bin.base64'>AAAAAMCRrdNRnc8RpKkAqgBH+qTDAAAAALcYDMSUsF5Bq0vLQ4j14OcHAO+VIDNPpG5Gq6TZYWba004AAAAAAFcAAO+VIDNPpG5Gq6TZYWba004AADS01QwAAA==
> >
> >
> >
> >
> > 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
> >> > @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
> >> > >
> >> >
> >> >
> >> >
>
>
> |
|
| Back to top |
|
 |
sumeetpk
Joined: 27 Dec 2007 Posts: 14
|
Posted: Fri Feb 01, 2008 4:57 am Post subject: Re: how to add Contact in Distribution List in Exchange 2007 |
|
|
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
> > @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:
> > >
> > >
> > >
> > > 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}/'>
> > >
> > >
> > >
> > > urn:content-classes:group
> > >
> > > IPM.DistList
> > >
> > > #Name#
> > >
> > > #Name#
> > >
> > > #Name#
> > >
> > > b:dt='int'>102627
> > >
> > > b:dt='string'>#Name#
> > >
> > > b:dt='mv.bin.base64'>
> > > b:dt='mv.bin.base64'>AAAAAMCRrdNRnc8RpKkAqgBH+qTDAAAAALcYDMSUsF5Bq0vLQ4j14OcHAO+VIDNPpG5Gq6TZYWba004AAAAAAFcAAO+VIDNPpG5Gq6TZYWba004AADS01QwAAA==
> > > b:dt='mv.bin.base64'>AAAAAMCRrdNRnc8RpKkAqgBH+qTDAAAAALcYDMSUsF5Bq0vLQ4j14OcHAO+VIDNPpG5Gq6TZYWba004AAAAAAFcAAO+VIDNPpG5Gq6TZYWba004AADS01QwAAA==
> > >
> > >
> > >
> > >
> > > 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
> > >> > @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
> > >> > >
> > >> >
> > >> >
> > >> >
> >
> >
> > |
|
| Back to top |
|
 |
Glen Scales [MVP]
Joined: 05 Aug 2007 Posts: 92
|
Posted: Sat Feb 02, 2008 3:24 pm Post subject: Re: how to add Contact in Distribution List in Exchange 2007 |
|
|
It would be nice if you could post your code to help others out (if
possible) ?
Cheers
Glen
"sumeetpk" wrote in message @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
>> > @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:
>> > >
>> > >
>> > >
>> > > 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}/'>
>> > >
>> > >
>> > >
>> > > urn:content-classes:group
>> > >
>> > > IPM.DistList
>> > >
>> > > #Name#
>> > >
>> > > #Name#
>> > >
>> > > #Name#
>> > >
>> > >
>> > > b:dt='int'>102627
>> > >
>> > >
>> > > b:dt='string'>#Name#
>> > >
>> > >
>> > > b:dt='mv.bin.base64'>
>> > > b:dt='mv.bin.base64'>AAAAAMCRrdNRnc8RpKkAqgBH+qTDAAAAALcYDMSUsF5Bq0vLQ4j14OcHAO+VIDNPpG5Gq6TZYWba004AAAAAAFcAAO+VIDNPpG5Gq6TZYWba004AADS01QwAAA==
>> > > b:dt='mv.bin.base64'>AAAAAMCRrdNRnc8RpKkAqgBH+qTDAAAAALcYDMSUsF5Bq0vLQ4j14OcHAO+VIDNPpG5Gq6TZYWba004AAAAAAFcAAO+VIDNPpG5Gq6TZYWba004AADS01QwAAA==
>> > >
>> > >
>> > >
>> > >
>> > > 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
>> > >> > @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
>> > >> > >
>> > >> >
>> > >> >
>> > >> >
>> >
>> >
>> >
|
|
| Back to top |
|
 |
|