Novell Home

International Mapping with eGuide

Novell Cool Solutions: Tip
By Mike Braden

Digg This - Slashdot This

Posted: 21 Dec 2005
 

Problem

The Map link in eGuide may need to be changed, to better serve companies with people outside of the U.S.

Solution

Here is a quick solution that Forum participant Mike Braden came up with. It works for worldwide organizations, as the mapping place seems to be good about having maps for the world, not just the US, or UK, or whatever.

You just need to make sure the CO, City, and PC values exist in eDirectory for the modified map to work properly.

The file you need to edit is:
uihandlers.xls in the sys:\tomcat\4\webapps\eGuide\WEB-INF\templates\xsl\default\browser

Here is the code you need:

<a title="{$ShowMapLabel}" target="_blank"
href="http://www.multimap.com/map/places.cgi?
client=public&lang=&advanced=&db=
{../attribute[name='CO']/value}&overviewmap=&
addr2={../attribute[name='STREET']/value}&
addr3={../attribute[name='CITY']/value}&
pc={../attribute[name='POSTALCODE']/value}">

As an alternative, if you want to use map24.com instead of multimap.com, both work for locations outside of the US.

<a title="{$ShowMapLabel}" target="_blank" href="http://link2.map24.com/?
street0={../attribute[name='STREET']/value}&
zip0={../attribute[name='POSTALCODE']/value}&
city0={../attribute[name='CITY']/value}&
state0=&country0={../attribute[name='CO']/value}&
name0=&lid=8add6ac7&ol=uk-en">


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell