---
sourceDocument: Australia Field Service Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/field-service-management

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia Field Service Management

ft:clusterId :

    - fsm

bundleId :

    - fsm

workflow :

    - Customer and Industry


---

# Handle client-side resource marker processing

# Handle client-side resource marker processing {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

You need to modify a script includes so the server handles the new markers in a way that allows them to display on the map correctly.

## Vorbereitungen

Role required: admin

## Warum und wann dieser Vorgang ausgeführt wird

In this procedure we're updating the `DispatcherWorkspaceMapClientUtilSNC (Client-Side Base)` in the file `sys_ux_client_script_include_567b7481b4218210f877647cf28f567e.xml`.

Modifying methods are described below, `setMarkerImage(api, marker)` (static method).

* How to modify: This is the original base SNC file - edit it directly by finding and modifying the resource-specific sections.

* What's modified: Resource marker icon assignments (two locations in the existing method where resources are handled).

{#handle-resource-process__ul_pb3_445_k3c}  
Hinweis:  
Uses proper resource icon names - actual icons are set server-side via `getMarkerIcon()`.

## Prozedur

1. In the `items.forEach() loop`, add resource handling after `cmn_schedule_span`.  

       ```javascript
       // ... after handling events
       } else if (item.table == 'cmn_schedule_span') {
       	has_event = true;
       	event_count++;
       	marker.image = 'sn_fsm_disp_wrkspc.event-default.svg';
       	marker.hoverIcon = 'sn_fsm_disp_wrkspc.event-hover.svg';
       	marker.highlightedIcon = 'sn_fsm_disp_wrkspc.event-selected.svg';
       } else if (item.table == 'sn_fsm_resource') {
       	has_resource = true;
       	resource_count++;
       	marker.image = 'sn_fsm_disp_wrkspc.resource-default.svg';
       	marker.hoverIcon = 'sn_fsm_disp_wrkspc.resource-hover.svg';
       	marker.highlightedIcon = 'sn_fsm_disp_wrkspc.resource-selected.svg';
       }
       ```

2. In the icon assignment section, add `resourceOnly handling` after agents condition.  

       ```javascript
       // ... after handling agents
       marker.highlightedIcon = 'sn_fsm_disp_wrkspc.agents-selected.svg';
       } else if (resourceOnly) {
       	if (resource_count == 1) {
       		marker.image = 'sn_fsm_disp_wrkspc.resource-default.svg';
       		marker.hoverIcon = 'sn_fsm_disp_wrkspc.resource-hover.svg';
       		marker.highlightedIcon = 'sn_fsm_disp_wrkspc.resource-selected.svg';
       	} else {
       		marker.image = 'sn_fsm_disp_wrkspc.resources-default.svg';
       		marker.hoverIcon = 'sn_fsm_disp_wrkspc.resources-hover.svg';
       		marker.highlightedIcon = 'sn_fsm_disp_wrkspc.resources-selected.svg';
       	}
       	marker.infoWindowContent = marker.items[0].displayValue;
       	if (marker.items[0].company) 
       		marker.infoWindowContent += "<BR/>" + marker.items[0].company;
       	if (marker.address) 
       		marker.infoWindowContent += "<BR/>" + marker.address;
       }
       ```


