WEBDAV

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have create a contact using WEBDAV protocol ( implemented C#).


1. Open the contact in the outlook.
2. Close the contact without doing any changes.


Automatically getlastmodified property(Last modifited time) getting
updated.

How to solve this ?

Regards

Indra Kumar
 
Hi,

I have created a contact using WEBDAV protocol

XML used creating contact
-----------------------------------Begin ---------------------------------
<?xml version="1.0"?>
<g:propertyupdate
xmlns:g="DAV:" xmlns:c="urn:schemas:contacts:"
xmlns:e="http://schemas.microsoft.com/exchange/"
xmlns:mapi="http://schemas.microsoft.com/mapi/" xmlns:x="xml:"
xmlns:cal="urn:schemas:calendar:" xmlns:mail="urn:schemas:httpmail:">
<g:set>
<g:prop>
<g:contentclass>urn:content-classes:person
</g:contentclass>
<e:outlookmessageclass>IPM.Contact</e:outlookmessageclass>
<c:givenName>JoLynn</c:givenName>
<c:middlename>Julie</c:middlename>
<c:sn>Dobney</c:sn>
<c:cn>JoLynn J. Dobney</c:cn>
<mail:subject>JoLynn Dobney</mail:subject>
<c:fileas>Dobney, JoLynn</c:fileas>
<c:initials>JJD</c:initials>
<c:nickname>Jo</c:nickname>
<c:personaltitle>Mrs.</c:personaltitle>
<c:namesuffix>MCSD</c:namesuffix>
<c:co>USA</c:co>
</g:prop>
</g:set>
</g:propertyupdate>
-----------------------------------(End) ---------------------------------


When I am trying to open the contact in the Outlook, Outlook internally
modify some properties of the contact. So Last modified date(Modified) of
the contact getting updated.

Is it possible to avoid this( Outlook automatic changes ) ?
 
I don't know. It might be useful to use a little VBA code with the PropertyChange event for that item to determine what is changing.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top