Fred
Guest
|
Posted:
Mon Aug 29, 2005 4:58 pm Post subject:
How to access Exchange user defined properties with exoledb? |
|
|
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
|
|
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 |
|
|
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
|
|
|