In some cases, CMDBViewer displays the default icon and not the icon, associated with the Families of the selected Configuration Items
search cancel

In some cases, CMDBViewer displays the default icon and not the icon, associated with the Families of the selected Configuration Items

book

Article ID: 55321

calendar_today

Updated On:

Products

CA IT Asset Manager CA Software Asset Manager (CA SAM) ASSET PORTFOLIO MGMT- SERVER SUPPORT AUTOMATION- SERVER CA Service Desk Manager - Unified Self Service CA Service Desk Manager CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

Description:

CMDBViewer, if clicked inside the details page of a Configuration Item associated with a custom Family having a space in the name, displays the default icon and not the icon associated with the related Family inside FamilyImageMap.properties file.

Example of custom Families associated with custom icons inside FamilyImageMap.properties:

 TEST=dat_basx_32.jpg
 TEST TEST=dat_basx_32.jpg
 ..

CMDBViewer:

  1. Displays correctly the icon (dat_basx_32.jpg) if it is clicked inside the details page of a Configuration Item associated with the Family 'TEST'.

  2. Displays the default icon (and not dat_basx_32.jpg) if it is clicked inside the details page of a Configuration Item associated with the Family 'TEST TEST'.

Solution:

The wrong behaviour is due to the space inside the name of the Family.

The correct way to associate inside FamilyImageMap.properties file, an icon with a Family having a name containing a space, is to replace the space with a '_' (underscore character).

To correct the case shown in the previous example, the correct syntax to use in FamilyImageMap.properties file is:

 TEST=dat_basx_32.jpg
 TEST_TEST=dat_basx_32.jpg
 ..

In this way the CMDBViewer displays the correct icon (dat_basx_32.jpg) also if it is clicked inside the details page of a Configuration Item associated with the Family 'TEST TEST'.

Environment

Release:
Component: ARGIS