Map feature tip templates
Map tip templates define the information that is displayed in a information window on a map. You use a rich text editor to add or modify the attributes on the template.
The content of the map tip template is defined by the selected
object. The template supports variable replacements that represent
attributes in the record. For example, if the map tip template contains
the attribute variable ${assetnum}
,
then the variable is replaced by the asset number attribute in the
information window.
The templates also supports one-to-one relationship attribute retrieval.
For example, ${relationshipname.attributename}
shows
service address information related to the current record directly
as ${serviceaddress.streetaddress}
.
In the information window, the service address information displays
as Address: 250 York street, London.
Message variables are represented as #{msggroup|msgkey}. If the template contains the message variable, then the variable is replaced by the message content related to the message group and message key. For example, #{map|assetstatus}.
Image variables can also be used as !{image:optional_path}
.
For example, !{image}
. Image variables
return an html image tag set with the url of the image associated
with the current item record.
For example, to view the image that is associated with an item
record for the asset, add !{image}
to
the template for the asset. If you want to view the image that is
associated with the asset item record on the current work order, then
you add i!{image:ASSET}
to the template
for the work order, where ASSET is the relationship on the work order
object that returns the work order asset.