Service Map Error: Cannot set property "sharedPresets" of undefined to "[object Object]"Issue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } 1. Service Mapping does not populate correctly for certain services, resulting in the error "Cannot set property "sharedPresets" of undefined to "[object Object]"".2. The error occurs when accessing the Service Map via the Service Operation Workspace. Symptoms<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } 1. Navigate to "Service Operation Workspace"2. Select "Service Dashboard" on the left3. Search for a Service Map and then click on "Service Map"4. The error may be noticed for a few Service Maps.5. Below error noticed in the sys logs table:CMDB Workspace - Unified Map - Error encountered fetching server data calling script include UnifiedMapHelper().getMap(7cdeb14d97cfda90cc3d706ef053af75, 25). CMDBUM-500-001: Cannot set property "sharedPresets" of undefined to "[object Object]"6. But when we try to open the same Service from Service Mapping UI, we may not notice any issues.Event Management --> Services --> Application Services --> search for above affected Service Map and open it Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Yokohama Patch 7 Hot Fix 2 Cause<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } I see that the service has recomputation error. ran population from BG script and there is the error related to missing Timeline Checkpoint. Note: Try this script in sub-prod instance The script :var gr = new GlideRecord('cmdb_ci_service_discovered');gr.get('service_sys_id'); // replace with sys_id of affected service var layerId = gr.layer; gs.print(layerId ); var layerGr = new GlideRecord('svc_layer');layerGr.get(layerId); var env = sn_svcmod.ServiceContainerFactory.loadEnvironment(layerGr.environment);var allLayers = env.layers();for (var i = 0 ; i < allLayers.length ; i++) {var layer = allLayers[i];layer.markRecomputationNeeded();} SNC.ServiceMappingFactory.recomputeLayer(layerGr); Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Steps to Resolve1. Run the 'Sync with Service Model' UI Action on the affected service to reset its configuration. Note: This action requires MAINT access and resets service history. 2. Customer can run the same action using BG script:var utils = new global.ServiceMappingUtils();var gr = new GlideRecord('cmdb_ci_service_discovered');gr.addQuery("sys_id","service_sys_id");gr.query();while(gr.next()) {utils.resetModel(gr);} Note: Drawback of this action:"Removes and then adds the application service to the Service Model, along with its Entry Points and Boundary Endpoints. As a result, all application service history resets."