setting datatype of a custom property using WebDav

setting datatype of a custom property using WebDav

Post by Daniel » Sun, 14 Jul 2002 05:09:27



Hi Paquitos!

When I create this custom property (newproperty) using this webdav
expression, the datatype of it is "string"

<?xml version="1.0"?><a:propertyupdate xmlns:a="DAV:"
xmlns:b="tat:ponto:"><a:set><a:prop><b:newproperty>newpropertyvalue</b:newpr
operty></a:prop></a:set></a:propertyupdate>

I need to set another datatypes in my custom properties (but I have to use
WebDav) like "boolean", "mv.string", "int", "dateTime.tz", and so on.

Anybody knows how can I do this?

Tks!
Montanha

 
 
 

setting datatype of a custom property using WebDav

Post by Siegfried Weber [MVP » Sun, 14 Jul 2002 05:16:26



> When I create this custom property (newproperty) using this webdav
> expression, the datatype of it is "string"

> <?xml version="1.0"?><a:propertyupdate xmlns:a="DAV:"

xmlns:b="tat:ponto:"><a:set><a:prop><b:newproperty>newpropertyvalue</b:newpr

Quote:> operty></a:prop></a:set></a:propertyupdate>

> I need to set another datatypes in my custom properties (but I have to use
> WebDav) like "boolean", "mv.string", "int", "dateTime.tz", and so on.

From the Exchange 2000 SDK:

<?xml version='1.0'?>
<a:multistatus
  xmlns:a="DAV:"
  xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/"
<a:response>
<a:href>http://microsoft.com/path/resource.eml</a:href>
<a:propstat>
  <a:status>HTTP/1.1 OK</a:status>
  <a:prop>
    <a:displayname>resource.eml</a:displayname>
    <a:getcontentlength>367</a:getcontentlength>
    <a:resourcetype><a:collection/></a:resourcetype>
    <a:iscollection b:dt="boolean">0</a:iscollection>
  </a:prop>
</a:propstat>

Should point you into the right direction.

--
<Cheers:Siegfried runat="server" />

Development Lead,

Microsoft Most Valuable Professional (MVP) - Exchange Server

CDOLive LLC - The Microsoft Messaging and Collaboration Application Experts
http://www.cdolive.com

Please reply to the newsgroups so that others can benefit from the
discussion.
Questions by e-mail are discarded without further notice.