|
Location
|
Tooltips
|
|---|---|
|
Scheduler tab
|
• Job Cards on the Scheduler Job List
• Work Plan Cards on the Scheduler Job List
• Service Task Cards on the Scheduler Job List
• Installed Product Cards on the Asset Calendar
• Appointments on the Scheduler Calendar
• Events on the Scheduler Calendar
|
|
Map tab
|
• Job Cards on the Map Job List
• Job map pins
• Resource map pins
• Crew map pins
|
|
|
• Tooltip content is loaded on demand, and is cached on the client the first time it is loaded from the server. To clear the cache, users can refresh their browsers.
• On the Scheduler Calendar, when Appointments or Events are directly or indirectly updated, the tooltip cache is automatically cleared and the content is reloaded from the server and displayed on demand. Users can also click Refresh Job List to clear the tooltip cache.
|
|
Field
|
Value
|
|---|---|
|
Name
|
The name of the new Tooltip Definition record, for example, Job Card Tooltip.
|
|
Related Object
|
The object for which you are creating this Tooltip Definition, for example, Job.
|
|
Identifier
|
This field auto-populates based on what you type in the Name field.
|
|
Code
|
Groovy code used to define the tooltip content and format, which must include fields from the specified Related Object, for example:
"<h4>Job Card Tooltip Example</h4>" +"<br>" +"<li style='font-weight:bold;color:gray;font-style:oblique;'>${svmx_name{</li> " +"<li>${svmx_workflow}</li>"
|
|
|
HTML syntax support for Job Card and Appointment tooltips is based on the following rules, which are not user-configurable.
• All HTML tags are permitted.
• All style attributes for HTML tags are permitted.
• All CSS attributes are permitted.
• For a tags, only the href, name, and target attributes are permitted.
• For img tags, only the src attribute is permitted.
• For input tags, only the type attribute is permitted.
|
|
|
Although the Timestamp data type can be specified without the full identifier, other data type values that are specified without this identifier are either rendered as timestamp values, or the original value is returned.
|
|
Data Type
|
Example
|
|---|---|
|
Timestamp
|
"<li>*${svmx_start_datetime}*(io_timestamp)</li>"
|
|
Timestamp data type without full identifier
|
"<li>*${svmx_start_datetime}*</li>"
|
|
Timestamp data type in Since format
|
"<li>*${svmx_preferred_start_time}*(io_timestamp_in_since_tooltip)</li>"
|
|
Date
|
"<li>*${io_showcase_date}*(io_date)</li>"
|
|
Interval
|
"<li>*${io_showcase_date}*(io_interval)</li>"
|
|
Percent
|
"<li>*${io_showcase_percent}*(io_percent)</li>"
|
|
Address
|
"<li>${io_showcase_address ? io_showcase_address[0] : ''}</li>"
|
|
Currency Amount
|
"<li>${io_showcase_currency_amount?.getDisplayValue() ?: ''}</li>"
|
|
Quantity with localization support
|
"<li>*${io_showcase_quantity?.getDisplayValue() ?: ''}*(io_quantity)</li>"
|
|
Option List with localization support
|
"<li>*${io_showcase_option_list ? io_showcase_option_list[0].getRecordId() : ''}*(io_option_list)</li>"
|
|
Workflow with localization support
|
"<li>*${svmx_workflow ? svmx_workflow.getStateDefinitionUUID() : ''}*(io_workflow)</li>"
|