Re: Folder Details



Here's one on MSDN.

http://msdn2.microsoft.com/en-us/library/aa123571.aspx

Note that you will need "DAV:isfolder" = true , since your are looking for
folder properties. The XML returned is very similar to what you already
getting.

Lee.

"Raj" <Raj@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:EEB97B2F-42D4-487B-AB35-CF306AC614BA@xxxxxxxxxxxxxxxx
Hi Lee,

If that so, Could you please send me a sample query?
Will that change will return different xml file? - I dont want to change
the
XML parser.

Thanks

Rajesh



"Lee Derbyshire [MVP]" wrote:

In that case, you'll need to do a SEARCH instead of a PROPFIND . With a
SEARCH, you can specify that you only want the properties of folders.

Lee.

"Raj" <Raj@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:EFD6410A-13F5-4B03-B37A-94D2521E4B12@xxxxxxxxxxxxxxxx
Hi Lee,

Thanks for the response. I am setting Depth Header to '1' becuase I
want
to
get details of all subfolders.

Thanks

Rajesh

"Lee Derbyshire [MVP]" wrote:

"Raj" <Raj@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:BED0BC95-0429-4374-B2CB-F4BE5C87D897@xxxxxxxxxxxxxxxx
Hi All,

I am using WebDav technology to get public folder detail - this
include
folder and subfolders. But the XML I received from exchange also
contain
'message' detail as well so that XML is very very big. How do I
eliminate
the
'message' detail from the recieved XML? I just want folder details.
Following
is the query I used to get folder details.

<?xml version='1.0'?><d:propfind xmlns:d='DAV:'
xmlns:s='http://schemas.microsoft.com/exchange/security/'
xmlns:E='http://schemas.microsoft.com/mapi/proptag/'
xmlns:f='http://schemas.microsoft.com/exchange/'><d:prop><E:x0e080014
/>
<s:descriptor/><d:contentclass/><d:isfolder/><d:hassubs/><d:displayname/>
<d:getlastmodified/><d:creationdate/><d:childcount/><f:permanenturl/><d:objectcount/></d:prop></d:propfind>

Thanks

Rajesh

Are you adding a Depth header to the request? Make sure that it is
set
to 0
..

Lee.

--
______________________________________

Outlook Web Access For PDA , OWA For WAP
www.leederbyshire.com
email a@t leederbyshire d.0.t c.0.m
______________________________________








.



Relevant Pages

  • Re: Folder Details
    ... The problem was related to bad request and fixed the XML but not completely ... I begin with sample code from Microsoft and I noticed that when I request to ... Folder size but getting resource not found error. ... I created equvalent search query for the same but it seems the namspace is ...
    (microsoft.public.exchange2000.development)
  • Re: .docx files
    ... Even as long as I've been on the internet I know what XML means Extensible Markup Language. ... to download a .docx and Safari has come back saying "I don't know what to do ... Inside the .docx file there is actually a little website with a folder ... when I try to drag that file onto EITHER the "Convert One ...
    (microsoft.public.mac.office.word)
  • Re: Folder Details
    ... Could you please send me a sample query? ... Will that change will return different xml file? ... get details of all subfolders. ... I am using WebDav technology to get public folder detail - this ...
    (microsoft.public.exchange2000.development)
  • Re: [PHP] About XML XSLT
    ... for start you can play with .htaccess and ModRewrite module. ... I had to Parse XML with PHP with database from mysql. ... htdocs folder in FTP. ... Would it be the best way to just place the parsed/saved XML file ...
    (php.general)
  • Re: Custom Views missing custom form data when deployed
    ... You must also create the field definitions in each folder. ... Sue Mosher, Outlook MVP ... > created 5 custom views against this form. ... > some VBA to open each XML file in turn and create the view using the ...
    (microsoft.public.outlook.program_forms)