Home All Groups Group Topic Archive Search About

Extracting attendee status from calendar entries

Author
11 Sep 2007 9:04 AM
Stephane Barizien
I'm desperately trying to extract the list of attendees with
Accepted/Declined/Tentative/No answer status from a calendar meeting object.

I've started from the code at:

http://www.ericwoodford.com/my_html_calendar_generating_script_for_exchange_2003

in order to avoid starting from scratch.

I cannot get code that would use "urn:schemas:calendar:attendeestatus" (in
the query) / "d:attendeestatus" (in the processing of the response) to
work...

Any clue?


TIA

Author
11 Sep 2007 10:32 AM
Henning Krause [MVP - Exchange]
Hello,

the attendee status is kept in the recipient table of the message which is
unfortunately not available via WebDAV.

Kind regards,
Henning

Show quote
"Stephane Barizien" <steNphOane.SbarPiz***@oAcMe.com> wrote in message
news:Our2$KF9HHA.5164@TK2MSFTNGP05.phx.gbl...
> I'm desperately trying to extract the list of attendees with
> Accepted/Declined/Tentative/No answer status from a calendar meeting
> object.
>
> I've started from the code at:
>
> http://www.ericwoodford.com/my_html_calendar_generating_script_for_exchange_2003
>
> in order to avoid starting from scratch.
>
> I cannot get code that would use "urn:schemas:calendar:attendeestatus" (in
> the query) / "d:attendeestatus" (in the processing of the response) to
> work...
>
> Any clue?
>
>
> TIA
>
>
>
Author
11 Sep 2007 11:09 AM
Stephane Barizien
So? What else than WebDAV would I have to use? CDOEX.DLL? Where can I find
info / doc / sample code on how to extract the attendee info?

TIA

Henning Krause [MVP - Exchange] wrote:
Show quote
> Hello,
>
> the attendee status is kept in the recipient table of the message
> which is unfortunately not available via WebDAV.
>
> Kind regards,
> Henning
>
> "Stephane Barizien" <steNphOane.SbarPiz***@oAcMe.com> wrote in message
> news:Our2$KF9HHA.5164@TK2MSFTNGP05.phx.gbl...
>> I'm desperately trying to extract the list of attendees with
>> Accepted/Declined/Tentative/No answer status from a calendar meeting
>> object.
>>
>> I've started from the code at:
>>
>> http://www.ericwoodford.com/my_html_calendar_generating_script_for_exchange_2003
>>
>> in order to avoid starting from scratch.
>>
>> I cannot get code that would use
>> "urn:schemas:calendar:attendeestatus" (in the query) /
>> "d:attendeestatus" (in the processing of the response) to work...
>>
>> Any clue?
>>
>>
>> TIA
Author
11 Sep 2007 11:24 AM
info_at_imibo_dot_com
Extended MAPI or/and CDO 1.2.1 and/or OOM
See MSDN for RecipientType and GetMeetingResponseStatus
Maybe you like to build something as our "Attendees Print"
http://www.imibo.com/imidev/Exchange/imiap.htm  :)

Regards,
info_at_imibo_dot_com


Show quote
"Stephane Barizien" <steNphOane.SbarPiz***@oAcMe.com> wrote in message
news:OdoXJRG9HHA.3716@TK2MSFTNGP03.phx.gbl...
> So? What else than WebDAV would I have to use? CDOEX.DLL? Where can I find
> info / doc / sample code on how to extract the attendee info?
>
> TIA
>
> Henning Krause [MVP - Exchange] wrote:
>> Hello,
>>
>> the attendee status is kept in the recipient table of the message
>> which is unfortunately not available via WebDAV.
>>
>> Kind regards,
>> Henning
>>
>> "Stephane Barizien" <steNphOane.SbarPiz***@oAcMe.com> wrote in message
>> news:Our2$KF9HHA.5164@TK2MSFTNGP05.phx.gbl...
>>> I'm desperately trying to extract the list of attendees with
>>> Accepted/Declined/Tentative/No answer status from a calendar meeting
>>> object.
>>>
>>> I've started from the code at:
>>>
>>> http://www.ericwoodford.com/my_html_calendar_generating_script_for_exchange_2003
>>>
>>> in order to avoid starting from scratch.
>>>
>>> I cannot get code that would use
>>> "urn:schemas:calendar:attendeestatus" (in the query) /
>>> "d:attendeestatus" (in the processing of the response) to work...
>>>
>>> Any clue?
>>>
>>>
>>> TIA
>
>
Author
11 Sep 2007 4:44 PM
Stephane Barizien
info_at_imibo_dot_com wrote:
> Extended MAPI or/and CDO 1.2.1 and/or OOM
> See MSDN for RecipientType and GetMeetingResponseStatus
> Maybe you like to build something as our "Attendees Print"
> http://www.imibo.com/imidev/Exchange/imiap.htm  :)

More or less, but we'd also like to publish *some* information about meeting
rooms (that are marked "private" so that normal users don't have the title /
participants of managers' meetings).  Eric's code seemed a nice starting
point.

And I'm "definitely unsure" I can convince whomever has to be convinced to
shell out the money for 200 licenses of your app...

(I've eval'd your app, works like a charm, just would have a few comments,
like: why the inserted empty columns in the Excel export, but that's another
story altogether... if you want to discuss this further I suggest direct
email, you can probably guess my real email address from the mangled one)

Show quote
>
> Regards,
> info_at_imibo_dot_com
>
>
> "Stephane Barizien" <steNphOane.SbarPiz***@oAcMe.com> wrote in message
> news:OdoXJRG9HHA.3716@TK2MSFTNGP03.phx.gbl...
>> So? What else than WebDAV would I have to use? CDOEX.DLL? Where can
>> I find info / doc / sample code on how to extract the attendee info?
>>
>> TIA
>>
>> Henning Krause [MVP - Exchange] wrote:
>>> Hello,
>>>
>>> the attendee status is kept in the recipient table of the message
>>> which is unfortunately not available via WebDAV.
>>>
>>> Kind regards,
>>> Henning
>>>
>>> "Stephane Barizien" <steNphOane.SbarPiz***@oAcMe.com> wrote in
>>> message news:Our2$KF9HHA.5164@TK2MSFTNGP05.phx.gbl...
>>>> I'm desperately trying to extract the list of attendees with
>>>> Accepted/Declined/Tentative/No answer status from a calendar
>>>> meeting object.
>>>>
>>>> I've started from the code at:
>>>>
>>>> http://www.ericwoodford.com/my_html_calendar_generating_script_for_exchange_2003
>>>>
>>>> in order to avoid starting from scratch.
>>>>
>>>> I cannot get code that would use
>>>> "urn:schemas:calendar:attendeestatus" (in the query) /
>>>> "d:attendeestatus" (in the processing of the response) to work...
>>>>
>>>> Any clue?
>>>>
>>>>
>>>> TIA
Author
11 Sep 2007 4:54 PM
info_at_imibo_dot_com
You can always wrote your comments and suggestions to info_at_imibo_dot_com

Any remarks are welcome :)


Show quote
"Stephane Barizien" <steNphOane.SbarPiz***@oAcMe.com> wrote in message
news:O6Qw6LJ9HHA.1168@TK2MSFTNGP02.phx.gbl...
> info_at_imibo_dot_com wrote:
>> Extended MAPI or/and CDO 1.2.1 and/or OOM
>> See MSDN for RecipientType and GetMeetingResponseStatus
>> Maybe you like to build something as our "Attendees Print"
>> http://www.imibo.com/imidev/Exchange/imiap.htm  :)
>
> More or less, but we'd also like to publish *some* information about
> meeting rooms (that are marked "private" so that normal users don't have
> the title / participants of managers' meetings).  Eric's code seemed a
> nice starting point.
>
> And I'm "definitely unsure" I can convince whomever has to be convinced to
> shell out the money for 200 licenses of your app...
>
> (I've eval'd your app, works like a charm, just would have a few comments,
> like: why the inserted empty columns in the Excel export, but that's
> another story altogether... if you want to discuss this further I suggest
> direct email, you can probably guess my real email address from the
> mangled one)
>
>>
>> Regards,
>> info_at_imibo_dot_com
>>
>>
>> "Stephane Barizien" <steNphOane.SbarPiz***@oAcMe.com> wrote in message
>> news:OdoXJRG9HHA.3716@TK2MSFTNGP03.phx.gbl...
>>> So? What else than WebDAV would I have to use? CDOEX.DLL? Where can
>>> I find info / doc / sample code on how to extract the attendee info?
>>>
>>> TIA
>>>
>>> Henning Krause [MVP - Exchange] wrote:
>>>> Hello,
>>>>
>>>> the attendee status is kept in the recipient table of the message
>>>> which is unfortunately not available via WebDAV.
>>>>
>>>> Kind regards,
>>>> Henning
>>>>
>>>> "Stephane Barizien" <steNphOane.SbarPiz***@oAcMe.com> wrote in
>>>> message news:Our2$KF9HHA.5164@TK2MSFTNGP05.phx.gbl...
>>>>> I'm desperately trying to extract the list of attendees with
>>>>> Accepted/Declined/Tentative/No answer status from a calendar
>>>>> meeting object.
>>>>>
>>>>> I've started from the code at:
>>>>>
>>>>> http://www.ericwoodford.com/my_html_calendar_generating_script_for_exchange_2003
>>>>>
>>>>> in order to avoid starting from scratch.
>>>>>
>>>>> I cannot get code that would use
>>>>> "urn:schemas:calendar:attendeestatus" (in the query) /
>>>>> "d:attendeestatus" (in the processing of the response) to work...
>>>>>
>>>>> Any clue?
>>>>>
>>>>>
>>>>> TIA
>
>
Author
11 Sep 2007 10:40 PM
Glen Scales [MVP]
One option you could consider trying with WebDAV is the attendee status is
usually held in the vcalendar body part of the appointment. So it you do a
Get on the appointment stream its possible to parse out the status from that
bodypart. It not the same as accessing the recipients collection but maybe a
workaround you can test. eg

set Req = createobject("Microsoft.XMLHTTP")
Req.open "GET", "http://server/exchange/mailbox/Calendar/appoinment.EML",
false
Req.setRequestHeader "Translate","f"
Req.send
attendeearry = split(req.responsetext,"ATTENDEE;",-1,1)
for i = 1 to ubound(attendeearry)
string1 = vbcrlf & " "
stparse = replace(attendeearry(i),string1,"")
attaddress =
mid(stparse,(instr(stparse,"MAILTO:")+7),instr(stparse,chr(13)))
attaddress = mid(attaddress,1,instr(attaddress,vbcrlf))
attrole =
mid(stparse,(instr(stparse,"ROLE=")+5),instr((instr(stparse,"ROLE=")+5),stparse,";")-(instr(stparse,"ROLE=")+5))
attstatus =
mid(stparse,(instr(stparse,"PARTSTAT=")+9),instr((instr(stparse,"PARTSTAT=")+9),stparse,";")-(instr(stparse,"PARTSTAT=")+9))
wscript.echo attaddress
wscript.echo attrole
wscript.echo attstatus
next

Cheers
Glen

Show quote
"Stephane Barizien" <steNphOane.SbarPiz***@oAcMe.com> wrote in message
news:OdoXJRG9HHA.3716@TK2MSFTNGP03.phx.gbl...
> So? What else than WebDAV would I have to use? CDOEX.DLL? Where can I find
> info / doc / sample code on how to extract the attendee info?
>
> TIA
>
> Henning Krause [MVP - Exchange] wrote:
>> Hello,
>>
>> the attendee status is kept in the recipient table of the message
>> which is unfortunately not available via WebDAV.
>>
>> Kind regards,
>> Henning
>>
>> "Stephane Barizien" <steNphOane.SbarPiz***@oAcMe.com> wrote in message
>> news:Our2$KF9HHA.5164@TK2MSFTNGP05.phx.gbl...
>>> I'm desperately trying to extract the list of attendees with
>>> Accepted/Declined/Tentative/No answer status from a calendar meeting
>>> object.
>>>
>>> I've started from the code at:
>>>
>>> http://www.ericwoodford.com/my_html_calendar_generating_script_for_exchange_2003
>>>
>>> in order to avoid starting from scratch.
>>>
>>> I cannot get code that would use
>>> "urn:schemas:calendar:attendeestatus" (in the query) /
>>> "d:attendeestatus" (in the processing of the response) to work...
>>>
>>> Any clue?
>>>
>>>
>>> TIA
>
>
Author
12 Sep 2007 10:08 AM
Stephane Barizien
Glen Scales [MVP] wrote:
> One option you could consider trying with WebDAV is the attendee
> status is usually held in the vcalendar body part of the appointment.
> So it you do a Get on the appointment stream its possible to parse
> out the status from that bodypart. It not the same as accessing the
> recipients collection but maybe a workaround you can test. eg
>
> set Req = createobject("Microsoft.XMLHTTP")
> Req.open "GET",
> "http://server/exchange/mailbox/Calendar/appoinment.EML", false

I assume the URL above is a "dummy" one, it should contain "something" that
specifies the meeting you want to read.

In any case, a GET of
http://TheRealServerName/exchange/MyMailboxName/Calendar/appoinment.EML gets
me nothing but a 404...

(a GET of http://TheRealServerName/exchange/MyMailboxName/Calendar DOES get
me something)

Do I miss something?

Show quote
> Req.setRequestHeader "Translate","f"
> Req.send
> attendeearry = split(req.responsetext,"ATTENDEE;",-1,1)
> for i = 1 to ubound(attendeearry)
> string1 = vbcrlf & " "
> stparse = replace(attendeearry(i),string1,"")
> attaddress =
> mid(stparse,(instr(stparse,"MAILTO:")+7),instr(stparse,chr(13)))
> attaddress = mid(attaddress,1,instr(attaddress,vbcrlf))
> attrole =
> mid(stparse,(instr(stparse,"ROLE=")+5),instr((instr(stparse,"ROLE=")+5),stparse,";")-(instr(stparse,"ROLE=")+5))
> attstatus =
> mid(stparse,(instr(stparse,"PARTSTAT=")+9),instr((instr(stparse,"PARTSTAT=")+9),stparse,";")-(instr(stparse,"PARTSTAT=")+9))
> wscript.echo attaddress
> wscript.echo attrole
> wscript.echo attstatus
> next
>
> Cheers
> Glen
>
> "Stephane Barizien" <steNphOane.SbarPiz***@oAcMe.com> wrote in message
> news:OdoXJRG9HHA.3716@TK2MSFTNGP03.phx.gbl...
>> So? What else than WebDAV would I have to use? CDOEX.DLL? Where can
>> I find info / doc / sample code on how to extract the attendee info?
>>
>> TIA
>>
>> Henning Krause [MVP - Exchange] wrote:
>>> Hello,
>>>
>>> the attendee status is kept in the recipient table of the message
>>> which is unfortunately not available via WebDAV.
>>>
>>> Kind regards,
>>> Henning
>>>
>>> "Stephane Barizien" <steNphOane.SbarPiz***@oAcMe.com> wrote in
>>> message news:Our2$KF9HHA.5164@TK2MSFTNGP05.phx.gbl...
>>>> I'm desperately trying to extract the list of attendees with
>>>> Accepted/Declined/Tentative/No answer status from a calendar
>>>> meeting object.
>>>>
>>>> I've started from the code at:
>>>>
>>>> http://www.ericwoodford.com/my_html_calendar_generating_script_for_exchange_2003
>>>>
>>>> in order to avoid starting from scratch.
>>>>
>>>> I cannot get code that would use
>>>> "urn:schemas:calendar:attendeestatus" (in the query) /
>>>> "d:attendeestatus" (in the processing of the response) to work...
>>>>
>>>> Any clue?
>>>>
>>>>
>>>> TIA
Author
12 Sep 2007 10:45 AM
Henning Krause [MVP - Exchange]
Hello,

the url is the OWA url of the meeting and the same you use in your webdav
requests. Only the verb is another (GET vs. PROPFIND).

But assuming you are performing a SEARCH request over the calendar folder,
you'll have to retrieve the DAV:href property from each item in the search
response and perform the GET operation on that url. And you must speficy the
Translate: f header, otherwise you'll get a HTML response containing the OWA
representation of that item.

Kind regards,
Henning


Show quote
"Stephane Barizien" <steNphOane.SbarPiz***@oAcMe.com> wrote in message
news:eixdZTS9HHA.4200@TK2MSFTNGP04.phx.gbl...
> Glen Scales [MVP] wrote:
>> One option you could consider trying with WebDAV is the attendee
>> status is usually held in the vcalendar body part of the appointment.
>> So it you do a Get on the appointment stream its possible to parse
>> out the status from that bodypart. It not the same as accessing the
>> recipients collection but maybe a workaround you can test. eg
>>
>> set Req = createobject("Microsoft.XMLHTTP")
>> Req.open "GET",
>> "http://server/exchange/mailbox/Calendar/appoinment.EML", false
>
> I assume the URL above is a "dummy" one, it should contain "something"
> that specifies the meeting you want to read.
>
> In any case, a GET of
> http://TheRealServerName/exchange/MyMailboxName/Calendar/appoinment.EML
> gets me nothing but a 404...
>
> (a GET of http://TheRealServerName/exchange/MyMailboxName/Calendar DOES
> get me something)
>
> Do I miss something?
>
>> Req.setRequestHeader "Translate","f"
>> Req.send
>> attendeearry = split(req.responsetext,"ATTENDEE;",-1,1)
>> for i = 1 to ubound(attendeearry)
>> string1 = vbcrlf & " "
>> stparse = replace(attendeearry(i),string1,"")
>> attaddress =
>> mid(stparse,(instr(stparse,"MAILTO:")+7),instr(stparse,chr(13)))
>> attaddress = mid(attaddress,1,instr(attaddress,vbcrlf))
>> attrole =
>> mid(stparse,(instr(stparse,"ROLE=")+5),instr((instr(stparse,"ROLE=")+5),stparse,";")-(instr(stparse,"ROLE=")+5))
>> attstatus =
>> mid(stparse,(instr(stparse,"PARTSTAT=")+9),instr((instr(stparse,"PARTSTAT=")+9),stparse,";")-(instr(stparse,"PARTSTAT=")+9))
>> wscript.echo attaddress
>> wscript.echo attrole
>> wscript.echo attstatus
>> next
>>
>> Cheers
>> Glen
>>
>> "Stephane Barizien" <steNphOane.SbarPiz***@oAcMe.com> wrote in message
>> news:OdoXJRG9HHA.3716@TK2MSFTNGP03.phx.gbl...
>>> So? What else than WebDAV would I have to use? CDOEX.DLL? Where can
>>> I find info / doc / sample code on how to extract the attendee info?
>>>
>>> TIA
>>>
>>> Henning Krause [MVP - Exchange] wrote:
>>>> Hello,
>>>>
>>>> the attendee status is kept in the recipient table of the message
>>>> which is unfortunately not available via WebDAV.
>>>>
>>>> Kind regards,
>>>> Henning
>>>>
>>>> "Stephane Barizien" <steNphOane.SbarPiz***@oAcMe.com> wrote in
>>>> message news:Our2$KF9HHA.5164@TK2MSFTNGP05.phx.gbl...
>>>>> I'm desperately trying to extract the list of attendees with
>>>>> Accepted/Declined/Tentative/No answer status from a calendar
>>>>> meeting object.
>>>>>
>>>>> I've started from the code at:
>>>>>
>>>>> http://www.ericwoodford.com/my_html_calendar_generating_script_for_exchange_2003
>>>>>
>>>>> in order to avoid starting from scratch.
>>>>>
>>>>> I cannot get code that would use
>>>>> "urn:schemas:calendar:attendeestatus" (in the query) /
>>>>> "d:attendeestatus" (in the processing of the response) to work...
>>>>>
>>>>> Any clue?
>>>>>
>>>>>
>>>>> TIA
>
>

AddThis Social Bookmark Button