Discussion:
Creating a contact in Exchange using WebDAV
(too old to reply)
Bo McIlvain
2008-07-08 21:39:03 UTC
Permalink
I'm trying to import contacts from a 3rd party contact management system into
Exchange, and need to be able to write to the "Notes" field in the contact
using WebDAV. The technique I've been trying to make work is to use a PUT
request to creat the body of the contact (which should show up in the Notes
field according to all the documentation I can find) and then use a PROPPATCH
request to fill in all the standard info. This results in a link to the item
(xxxx.eml) showing up in the Notes field, and not the contents of the item.
Any help would be greatly appreciated.
Lee Derbyshire [MVP]
2008-07-09 01:10:36 UTC
Permalink
Post by Bo McIlvain
I'm trying to import contacts from a 3rd party contact management system into
Exchange, and need to be able to write to the "Notes" field in the contact
using WebDAV. The technique I've been trying to make work is to use a PUT
request to creat the body of the contact (which should show up in the Notes
field according to all the documentation I can find) and then use a PROPPATCH
request to fill in all the standard info. This results in a link to the item
(xxxx.eml) showing up in the Notes field, and not the contents of the item.
Any help would be greatly appreciated.
Hard to say without seeing the code, but I don't think you need the PUT.
Try just using a PROPPATCH, and I think you'll find that the Notes field can
be populated by using the urn:schemas:httpmail:textdescription property.

Lee.
--
_______________________________________

Outlook Web Access for PDA, OWA For WAP:
www.leederbyshire.com
________________________________________
Bo McIlvain
2008-07-09 02:02:01 UTC
Permalink
Lee,

Thank you kindly, I am in your debt. That worked great, and I will now
investigate the "htmldescription" property in the same schema which your
pointer lead me to find, and will serve me even better, I hope.

Thanks again!

Best Regards,

Bo
Post by Lee Derbyshire [MVP]
Post by Bo McIlvain
I'm trying to import contacts from a 3rd party contact management system into
Exchange, and need to be able to write to the "Notes" field in the contact
using WebDAV. The technique I've been trying to make work is to use a PUT
request to creat the body of the contact (which should show up in the Notes
field according to all the documentation I can find) and then use a PROPPATCH
request to fill in all the standard info. This results in a link to the item
(xxxx.eml) showing up in the Notes field, and not the contents of the item.
Any help would be greatly appreciated.
Hard to say without seeing the code, but I don't think you need the PUT.
Try just using a PROPPATCH, and I think you'll find that the Notes field can
be populated by using the urn:schemas:httpmail:textdescription property.
Lee.
--
_______________________________________
www.leederbyshire.com
________________________________________
Loading...