Color Coding – Field Service Management 3

Map Cluster Color

Map clusters provide an overview of tasks clustered in the map. It can indicate if priority tasks are still unattended in a cluster of tasks on the map. This can help the user zoom in to the cluster and find where these tasks locations are.

The color of the cluster can be configured by providing a cluster level for each item.

Any cluster which contains a task assigned “1” will be color coded to based on that task, overriding the colors of all other tasks in the cluster.

Any cluster which contains a task assigned “2” (and no “1”s) will be color coded to based on that task, overriding the colors of all other tasks in the cluster, and so on and so forth.

For the group priority, to turn the cluster color to the swatch assigned to high, set the item object cluster property to value 1. This would result in the cluster displaying the high swatch color whenever a task with high value is present among the clustered tasks. Set the rest of the items’ cluster to the next increment values, that is, 23, etc.

If the cluster property is not set on an item object, it will be ignored and will not be taken into consideration for the cluster color. If all items do not have this property set, the cluster will display the default dark color.

{
    "colour": {
        "group": {
            "mypriority": {
                "label": "Priority",
                "column": "priority",
                "palette": "Rainbow",
                "items": [{ "id": "1", "label": "High", "swatch": "redpigment", "cluster": "1" }, { "id":"2", "label": "Medium", "swatch": "sizzlingsunrise", "cluster": "2" }, { "id":"3", "label": "Low", "swatch": "skybluecrayola", "cluster": "3" }],
                "eventswatch": true
            }
        }
    }
}

Read Only Mode

Read only mode prevents users from changing the swatches for each group item on the scheduler. Users will still be able select the color groups with the last edited palettes and swatches applied before read only mode was turned on.

To set color to read only, set the readonly property to true.

{
    "colour": {
        "readonly": true
    }
}

Disabling the Feature

There are scenarios where colors might need to be disabled. To disable this feature, set the enable property to false.

When color feature is disabled, the default group will be Task Priority and palette will be Rainbow.

{
    "colour": {
        "enabled":  false
    }
}

Leave a comment

Your email address will not be published. Required fields are marked *