Notes Folder from Exchange
Exchange Server Forum Index Exchange Server
Discussion forums for Microsoft Exchange Server users.
Microsoft Outlook
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web ExchangeServerHelp.com
Notes Folder from Exchange

 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development
Author Message
Mihir Vaidya
Guest





Posted: Thu Aug 11, 2005 4:59 pm    Post subject: Notes Folder from Exchange Reply with quote

Hello Everybody,

I am trying to retreive the details of all notes from the "Notes" folder in
a mailbox on exchange server using WebDAV.
However, for evey "note" that I receive, I do not have the text description
or the subject. All I receive is the HREF and the display name of the EML
file.

Can any one tell me how to access the contents of the Notes folder using
WebDAV?

This is what I did....

I fired a WebDAV SEARCH request on
http://<exchange-server>/exchange/user1/notes folder with the following sql

<?xml version="1.0">
<g:searchrequest xmlns:g=\"DAV:\">
<g:sql>SELECT * FROM Scope('SHALLOW TRAVERSAL OF
"http://<exchange-server>/exchange/user1/notes" ') WHERE "DAV:contentclass" =
'urn:content-classes:notesfolder'
</g:sql>
</g:searchrequest>

In response, I get a bunch of XML that contains all the "notes" in the notes
folder. But none of them have the subject and description.

Any help is appreciated.

Thanks and Best Regards,

Mihir Vaidya

Back to top
Mihir Vaidya
Guest





Posted: Thu Aug 11, 2005 4:59 pm    Post subject: Correction to my prev post... RE: Notes Folder from Exchange Reply with quote

Hi,

A small correction to the sql query that I gave in the previous post.

The query that I fired looked like this (The WHERE clause is remove)

<?xml version="1.0">
<g:searchrequest xmlns:g=\"DAV:\">
<g:sql>SELECT * FROM Scope('SHALLOW TRAVERSAL OF
"http://<exchange-server>/exchange/user1/notes" ')
</g:sql>
</g:searchrequest>

Thanks and Best Regards,

Mihir


"Mihir Vaidya" wrote:

Quote:
Hello Everybody,

I am trying to retreive the details of all notes from the "Notes" folder in
a mailbox on exchange server using WebDAV.
However, for evey "note" that I receive, I do not have the text description
or the subject. All I receive is the HREF and the display name of the EML
file.

Can any one tell me how to access the contents of the Notes folder using
WebDAV?

This is what I did....

I fired a WebDAV SEARCH request on
http://<exchange-server>/exchange/user1/notes folder with the following sql

?xml version="1.0"
g:searchrequest xmlns:g=\"DAV:\"
g:sql>SELECT * FROM Scope('SHALLOW TRAVERSAL OF
"http://<exchange-server>/exchange/user1/notes" ') WHERE "DAV:contentclass" =
'urn:content-classes:notesfolder'
/g:sql
/g:searchrequest

In response, I get a bunch of XML that contains all the "notes" in the notes
folder. But none of them have the subject and description.

Any help is appreciated.

Thanks and Best Regards,

Mihir Vaidya
Back to top
Henning Krause [MVP - Exc
Guest





Posted: Fri Aug 12, 2005 4:59 pm    Post subject: Re: Correction to my prev post... RE: Notes Folder from Exch Reply with quote

Hello,

thats really interesting. A PROPFIND using the allprop element does not
return the textdescription and htmldescription either... but if I query it
explicitly, I get it....

So you must refine your query to this:
<?xml version="1.0" encoding="utf-8" ?>
<g:searchrequest xmlns:g="DAV:">
<g:sql>SELECT "urn:schemas:httpmail:htmldescription",
"urn:schemas:httpmail:textdescription" FROM SCOPE ('SHALLOW TRAVERSAL OF
"http://<exchange-server>/exchange/user1/notes")</g:sql>
</g:searchrequest>


Greetings,
Henning Krause
MVP - Exchange
http://www.infinitec.de


"Mihir Vaidya" <MihirVaidya@discussions.microsoft.com> wrote in message
news:F2274FE8-C4A8-44FF-AF4E-995EC676512C@microsoft.com...
Quote:
Hi,

A small correction to the sql query that I gave in the previous post.

The query that I fired looked like this (The WHERE clause is remove)

?xml version="1.0"
g:searchrequest xmlns:g=\"DAV:\"
g:sql>SELECT * FROM Scope('SHALLOW TRAVERSAL OF
"http://<exchange-server>/exchange/user1/notes" ')
/g:sql
/g:searchrequest

Thanks and Best Regards,

Mihir


"Mihir Vaidya" wrote:

Hello Everybody,

I am trying to retreive the details of all notes from the "Notes" folder
in
a mailbox on exchange server using WebDAV.
However, for evey "note" that I receive, I do not have the text
description
or the subject. All I receive is the HREF and the display name of the EML
file.

Can any one tell me how to access the contents of the Notes folder using
WebDAV?

This is what I did....

I fired a WebDAV SEARCH request on
http://<exchange-server>/exchange/user1/notes folder with the following
sql

?xml version="1.0"
g:searchrequest xmlns:g=\"DAV:\"
g:sql>SELECT * FROM Scope('SHALLOW TRAVERSAL OF
"http://<exchange-server>/exchange/user1/notes" ') WHERE
"DAV:contentclass" =
'urn:content-classes:notesfolder'
/g:sql
/g:searchrequest

In response, I get a bunch of XML that contains all the "notes" in the
notes
folder. But none of them have the subject and description.

Any help is appreciated.

Thanks and Best Regards,

Mihir Vaidya


Back to top
 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server Dedicated Servers
Contact Us
New Topics Powered by phpBB