On 6/2/10 11:53 AM, kaijlh wrote:
> I have the following problem with the version 5.2.4 of Intermapper.
>
> All Map names appear with a '/' just at the begin of the name.
> In the Labels I have ${PARAM:Map Name}
>
> It was not the case in version 4.6.
> I don't know how to solve this, except by modifying all Names manually.
>
> Any ideas
We will see what we can do to make the map status probe labels cleaner
in a future version.
In version 5.2, the following label will display just the part of the
map name after the last slash. (The undocumented ${js} macro will be
replaced in later versions by a more robust syntax; it currently doesn't
handle unbalanced curly braces in the javascript contents.)
${js:write("${PARAM:Map Name}".replace(/^.*\//, ""))}
--
Bill Fisher
Dartware, LLC
____________________________________________________________________
List archives:
http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [email protected]