Outlook 2003 Won't import phone numbers from VCard
hubris - July 14, 2008 - 21:36
| Project: | vCard |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I've set up the latest version of Vcard on a drupal 5.8 install. I've got everything working the way it's supposed to (i.e. User data shows up in vcard, including their phone number).
However, when opening/importing the vcard with Outlook 2003 the telephone number is not imported. According to http://microformats.org/wiki/vcard-implementations Outlook 2003 drops the telephone number on import if the Type is not specified (i.e. Business, Home, etc):
MSOutlook2k3 TEL
Drops TEL if TYPE is not explicitly specified.
TEL;TYPE=work: is changed to TEL;WORK;VOICE: I've added this to line 181 in my copy of the vcard module:
$vcard->addParam('TYPE', 'work');And that seems to work... but obviously that only works for a business contact site and becomes hardcoded into the site, if there were a way to select/change this in the vcard admin page that would be better.

#1
Thanks for the hint. Will have a look at it.
#2
hi hubris ,
i am facing same issue. i am not able to get Phone numbers. Please give me some idea about it. & for Job title what will i have to do. as i wrote
if (!empty($jobtitle)) {$vcard->setJobtitle($jobtitle);
}
but i got Call to undefined function setJobtitle i also tried addJobtitle. but it's not working.
Kamlesh Patidar
#3
hi,
i have done this myself.
Kamlesh patidar