Searching...
Filters
SmallMediumLarge
Home Print Show Topic URL Previous Next
IT Management Suite
Client Management Suite
Server Management Suite
Deployment Solution
Asset Management Suite
ServiceDesk

Creating a custom data class

Asset Management Suite

Data classes are the building blocks of a configuration item type. They represent the categories of data that you want to record about a configuration item. For example, the Computer configuration item type contains the Cost Items data class, the Manufacturer data class, the Serial Number data class and so on.

CMDB Solution includes many predefined data classes that let you define new configuration item types. However, if the predefined data classes are not sufficient to clearly identify the configuration item types in your environment, you can create custom data classes. When you create a data class, you can customize it by adding, editing, and deleting its attributes. Note that you cannot modify or delete the predefined data classes.

A data class can be visualized as a table in the Configuration Management Database (CMDB). Each data class has a set of attributes that define its properties.

A data class has the following components:

Data class attribute

Data class attributes define the data that data classes store. Data class attributes appear as fields when you enter data. After you add a data class attribute to a data class, you can edit certain aspects of the attribute. You can edit the description and control if it is hidden, but you cannot delete the description from the data class. You cannot add data class attributes to a predefined data class. For example, the Manufacturer data class contains the Manufacturer Name and Model data class attributes.

Data class attribute parameter

Data class attribute parameters specify the characteristics of a data class attribute such as name, description, and maximum length of the attribute. For each data class attribute, you must specify values for each of the parameters. You can specify the type, number, and order of characters in a field. For example, the name to be entered into the Manufacturer Name data class attribute might have a parameter of fewer than 256 characters.

This task is a step in the process for creating a custom configuration item type.

See Creating a custom configuration item type

To create a custom data class

  1. In the Symantec Management Console, on the Settings menu, click All Settings.

  2. In the left pane, expand Notification Server > Resource and Data Class Settings > Data Classes > CMDB Data Classes, right-click the folder where you want to create a custom data class, and then click New > Editable Data Class.

  3. On the New Editable Data Class page, give the data class a name and add the attributes.

    The name of the database table that is linked to the data class is created from the name of this data class. It begins with the prefix Inv_ followed by the data class name. The spaces in the data class name are replaced with the underscore character. Note that the table name persists even if you later change the name of the data class.

    Warning: Comment from: https://www-secure.symantec.com/connect/forums/connector-ns7-cannot-import-data-custom-data-classSymantec recommends that you omit special characters from the custom data class names because they may cause errors.
  4. Click Save changes.

    After you create the data class, you can associate it with any configuration item type. To add the data class to a configuration item type, go to Settings > Notification Server > Resource and Data Class Settings > Resource Types, click the configuration item type where you want to add the data class, and then in the right pane, click Add data classes.