Adding Actual Time Fields to Custom Appointment Tooltips
To help dispatchers quickly notice situations where Appointments start at times before or after the configured Scheduled Start and Scheduled End field values, you can add Actual Start Time and Actual End Time fields to custom Appointment tooltips.
To add Actual Time fields to custom Appointment tooltips:
1. In
Max Designer, on the
Developer Tools (
) launchpad menu, click
Fields, and then in the list view, click the
Additional Info field with a
Short Description column value of
Used by Appointment.
2. On the record page, on the
Code tab, in the
Custom Code field, add the following Groovy code, and then in the top left corner, click
Save and Close (
).
actualStart = svmx_actual_start_time? "*${svmx_actual_start_time}*" : '-'
actualEnd = svmx_actual_end_time? "*${svmx_actual_end_time}*" : '-'
"""
<li>Scheduled Start: *${svmx_start_datetime}*</li>
<li>Scheduled End: *${svmx_end_datetime}*</li>
<li>Actual Start: ${actualStart}</li>
<li>Actual End: ${actualEnd}</li>
"""
For more information: