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: Thu, 3 Jan 2008 06:49:00 -0800 (PST),    group: microsoft.public.exchange.development        back       


can't search for my previously set custom property   
Hi, I'm using WebDAV to do some processing on message items inside
some user's Inbox.  I retrieve a chunk of mail message href(s) using
SEARCH method of WebDAV, then set a custom boolean property on each
retrieved message item to label it as processed.

After that, when i do a WebDAV SEARCH request on the Inbox asking for
the message items those who does not have this property set on them,
the returned response has 0 row count..

here is an example of the select statement:

<?xml version="1.0"?>
<D:searchrequest xmlns:D = "DAV:">
  <D:sql>
    SELECT "DAV:contentclass", "DAV:displayname","urn:schemas-mydomain-
com:processed"
    FROM "http://assemwin2003/Exchange/Assem/Inbox/"
    WHERE "DAV:ishidden" = false
    AND "DAV:isfolder" = false
    AND "urn:schemas-mydomain-com:processed" <> CAST("true" AS
"boolean")
  </D:sql>
</D:searchrequest>

if i changed the condition to :
...
"urn:schemas-mydomain-com:processed" = CAST("true" AS "boolean")
...
it returns me -successfully- the messages who i set the custom
property on.

So, any body can help on how to construct the search query to return
only the message items who does't not have this property at all ?

thank you in advance .
date: Thu, 3 Jan 2008 06:49:00 -0800 (PST)   author:   Assem

Google
 
Web ureader.com


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