Lotus Traveler, iPhone and the Corporate Directory Lookup. Where is the street address? A possible work-around
Darren Duke July 16 2011 01:37:23 PM
UPDATE (09/01/2011) : Attached at the bottom of this post is that actual nameLookup-AS.xslt so you can use that. Please back up yours first though.....So we've moved a fair share of customers off BlackBerry and on to Traveler. Some are iShiny some are Android. Most of these customers use some sort of DA database for basic CRM or Share Contact look-up. We all know this works flawlessly with BES but, honestly, their devices are not the most sought after these days. Still BlackBerry works flawlessly here. Not so much for the iPhone or more likely the ActiveSync implementation that is used with/for it.
See when a "corporate lookup" is performed only the following fields can be returned via ActiveSync (as per IBM the wiki):
- DisplayName
- Phone
- Title
- Company
- Alias
- FirstName
- LastName
- HomePhone
- MobilePhone
- EmailAddress
So to add the data we want (address) we need to bastardize one of the above fields. In my case I am going to add to the "Company" field and append the address to it. Luckily with a bit of XSLT jiggery-pokery we can achieve this.
After adding the following code to the data\traveler\cfg\namelookupTemplate\nameLookup-AS.xslt file on the Traveler server and bouncing the server:
REMOVED THE CODE, DOWNLOAD THE ATTACHED XSLT FILE TO SEE IT (BELOW)
we get the following (note that the '
' is a new line in XSLT-ese so I can better spread out the address):
As an example here is the same screen shot before the customization:
- Comments [5]




