Howto to save no outlook data into contactiem ?

Howto to save no outlook data into contactiem ?

Post by pbouchard » Wed, 12 May 2004 19:28:56


Hello,

I have made a javascript in order to synchronize an Outlook Client
(2000,XP,2000) with a Web portal. (Using ActiveX of Outlook in a IE
Navigator).

The WebPortal work under Apache / PHP / MySQL, i wrote javascript in
order to push contact from my MySQL database in the Outlook Client.
It's work well.

Now, i want to update Portal's contact when update are made under the
outlook client. So When i write Contact Item i need to save extra
data, like ID of colums of my portal's table contact into the
contactitem of the outlook client.

I have made a long long search, but i can find any field where i could
save my ID.

Any idee ?
Thx +
 
 
 

Howto to save no outlook data into contactiem ?

Post by Sue Mosher » Wed, 12 May 2004 20:18:46

You could use the built-in BillingInformation or Mileage fields or add a
custom field of your own.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.yqcomputer.com/

 
 
 

Howto to save no outlook data into contactiem ?

Post by Philippe » Wed, 12 May 2004 21:17:14

I know it's true, i have read somewhere on the Web that you can use
Milleage & BillingInformation property in order to stock your own data.

But at the beginning why Microsoft have made this two field ? Because i
have to be sure that in the next version of outllok, Microsoft don't use
this field later i thing that it's a bit dangerous... Do you know if
this field are made specialy for save extra data ?

Otherwise, in your answer you talke to me that we can make your own
field, it's possible in Javascript with MAPI ? Maybe you can say to me
juste, a litle thing about how to do, in order to help me for implemente
this kind of solution

Great Thx,
+


*** Sent via Developersdex http://www.yqcomputer.com/ ***
Don't just participate in USENET...get rewarded for it!
 
 
 

Howto to save no outlook data into contactiem ?

Post by Sue Mosher » Wed, 12 May 2004 22:12:35

They've included those two fields so their customers can use them for
whatever purpose they want. The ContactItem object also has four User
fields -- User1 through User 4 -- for this purpose.

To add your own custom property, use the UserProperties.Add method.

Also note: The newsgroup interface you are using apparently does not quote
earlier messages in the thread, making your latest message so short on
detail that you risk not getting the answer you're looking for. Please take
the time to quote the original message.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.yqcomputer.com/