How to access Exchange user defined properties with exoledb?
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
How to access Exchange user defined properties with exoledb?

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





Posted: Mon Aug 29, 2005 4:58 pm    Post subject: How to access Exchange user defined properties with exoledb? Reply with quote

Hi,

What's the trick to accessing Outlook/Exchange "user defined fields"
(or properties) with exoledb?!

We're using Outlook to create user defined properties in our exchange
public folder. We use them to store custom details with each record.

We're using C#, ADODB, and exoledb to access the public folder with
this query:

select
\urn:schemas:mailheader:content-class\,
\DAV:href\,
\urn:schemas:mailheader:content-class\,
\DAV:displayname\
from scope ('shallow traversal of \ {mypublicfolder} \')
where
\DAV:ishidden\ = false AND
\DAV:isfolder\ = false

Everything works fine -- the only question is how to access the user
defiend fields in the result set.

Thanks in advance,
Fred

Back to top
Henning Krause [MVP - Exc
Guest





Posted: Tue Aug 30, 2005 12:40 am    Post subject: Re: How to access Exchange user defined properties with exol Reply with quote

Hello,

the custom properties should be available by their name, so if your property
is named "customproperty", a
SELECT "customproperty" FROM ...

Within the XML response, you must set the default-namespace to an empty
string, since custom properties do not reside in a namespace.

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


"Fred" <FredFark2005@gmail.com> wrote in message
news:1125324110.574866.39910@f14g2000cwb.googlegroups.com...
Quote:

Hi,

What's the trick to accessing Outlook/Exchange "user defined fields"
(or properties) with exoledb?!

We're using Outlook to create user defined properties in our exchange
public folder. We use them to store custom details with each record.

We're using C#, ADODB, and exoledb to access the public folder with
this query:

select
\urn:schemas:mailheader:content-class\,
\DAV:href\,
\urn:schemas:mailheader:content-class\,
\DAV:displayname\
from scope ('shallow traversal of \ {mypublicfolder} \')
where
\DAV:ishidden\ = false AND
\DAV:isfolder\ = false

Everything works fine -- the only question is how to access the user
defiend fields in the result set.

Thanks in advance,
Fred
Back to top
Fred
Guest





Posted: Tue Aug 30, 2005 4:59 pm    Post subject: Re: How to access Exchange user defined properties with exol Reply with quote

Thanks! That did the trick!

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