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

Document ID : KB000055321
Last Modified Date : 14/02/2018
Show Technical Document Details

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'.