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:


we get the following (note that the '&#xA' is a new line in XSLT-ese so I can better spread out the address):

Image:Lotus Traveler, iPhone and the Corporate Directory Lookup. Where is the street address? A possible work-around

As an example here is the same screen shot before the customization:

Image: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   |    traveler  iphone    |  
  |   Next Document   |   Previous Document

Discussion for this entry is now closed.

Comments (5)

Gravatar Image
1 - Rodwann       08/22/2011 9:02:22 AM

I have a second address book with the personel contact template. Directory lookup work fine.

How can I modify the nameLookup-AS.xslt file to add contact photo?

Gravatar Image
2 - VValentin       09/01/2011 3:58:52 AM


Very intersting. I have tryed to integrate it but it do Corporate lookup stop working. Can you be more precise on the way to intergrate in nameLookup-AS.xslt.

I found the first line of your code and so add it after but without success.

It is a new fresh Traveler installation with last fix on Domino 8.5.2 FP3 W32

Thanks in advance

Gravatar Image
3 - Darren Duke       09/01/2011 8:44:57 AM

@1) I don't think you can. Basically my hack uses information already presented to the Traveler server and I'm not sure the 2nd address is exposed that way.

Gravatar Image
4 - Darren Duke       09/01/2011 8:45:52 AM

@2 I have attached the nameLookup-AS.xslt to the bottom of the original post. You should be able to use that. Remember to backup your original version first though!

Gravatar Image
5 - VValentin       09/01/2011 3:33:42 PM

Back to home, I see you post a new blog entry about this customisation with your nameLookup-AS.xslt.

Can't way ... I do a remote connection to Traveler server, save original file, compare by custom file without founding any difference ;-), put your instead, restart traveler task, test, ... In works

I see you add contatenation of First Name and Middle I adopt too.

Thanks Darren.