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: Mon, 12 Jun 2006 22:03:04 +0200,    group: microsoft.public.exchange.development        back       


Exchange 2003 / WebDAV problem   
Hi,

I have a problem. When I send the following request to the exchange 
server I get all appointments from June 01.

When I send a request that I only want to see appointments between June 
01 and June 30 I get a request error.

Here is my first request:

<?xml version="1.0"?>
<g:searchrequest xmlns:g="DAV:">
<g:sql>SELECT "urn:schemas:calendar:location", 
"urn:schemas:httpmail:subject",
"urn:schemas:calendar:dtstart", "urn:schemas:calendar:dtend",
"urn:schemas:calendar:busystatus", "urn:schemas:calendar:instancetype"
FROM Scope('SHALLOW TRAVERSAL OF "http://host/exchange/user/Kalender/"')
WHERE (NOT "urn:schemas:calendar:instancetype" = 1 )
AND "DAV:contentclass" = 'urn:content-classes:appointment'
AND ("urn:schemas:calendar:dtstart" >= CAST("2006-06-01T00:00:00Z" as 
'dateTime'))
ORDER BY "urn:schemas:calendar:dtstart" ASC
</g:sql></g:searchrequest>

here is the additional line for the second, not working request.

AND ("urn:schemas:calendar:dtstart" < CAST("2006-07-01T00:00:00Z" as 
'dateTime'))


Another question, I have recurring appointments (1x a week, without a 
end) but the exchange server return only one month.

Best regards
Marc
date: Mon, 12 Jun 2006 22:03:04 +0200   author:   Marc Filthaut

Re: Exchange 2003 / WebDAV problem   
Hi,

I found the solution.

Instead of ... dtstart" < ... I have to write ... dtstart" < ...
So I changed < with < and > with > and I get a valid request and a 
  I get all of my recurring appointments.

Best regards
Marc

Marc Filthaut wrote:
> Hi,
> 
> When I send a request that I only want to see appointments between June 
> 01 and June 30 I get a request error.
> 
.....
> AND ("urn:schemas:calendar:dtstart" >= CAST("2006-06-01T00:00:00Z" as 
> 'dateTime'))
> ORDER BY "urn:schemas:calendar:dtstart" ASC
> </g:sql></g:searchrequest>
> 
> here is the additional line for the second, not working request.
> 
> AND ("urn:schemas:calendar:dtstart" < CAST("2006-07-01T00:00:00Z" as 
> 'dateTime'))
> 
>
date: Wed, 14 Jun 2006 17:22:21 +0200   author:   Marc Filthaut

Google
 
Web ureader.com


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