Add Custom Fields to the User Interface

On the CA Service Catalog user interface, you can optionally add custom field that is related to business units, accounts, or users. You can add a new field to meet a custom requirement for your organization or one of your customers. To do so, follow this process:
casm1401
On the CA Service Catalog user interface, you can optionally add custom field that is related to business units, accounts, or users. You can add a new field to meet a custom requirement for your organization or one of your customers. To do so, follow this process:
Step 1 - Review the Additional Data Fields
The Business Unit, Account, and User schemas in the CA Service Catalog database tables provide extra data fields. By default, these fields do not have labels. The fields do not appear on the CA Service Catalog user interface.
The additional data fields and their data types follow.
  • The additional data fields (and their types) for business units in the usm_tenant table follow:
    data1: nvarchar(32)data2: nvarchar(32)data3: nvarchar(32)data4: nvarchar(64)data5: nvarchar(64)data6: nvarchar(128)data7: nvarchar(128)
  • The additional data fields (and their types) for accounts in the usm_account table follow:
    data1: nvarchar(32)data2: nvarchar(32)data3: nvarchar(32)data4: nvarchar(64)data5: nvarchar(64)data6: nvarchar(64)data7: nvarchar(128)
  • The additional data fields (and their types) for users in the usm_contact_extension table follow:
    data1: nvarchar(512)data2: nvarchar(512)data3: nvarchar(512)data4: nvarchar(512)data5: nvarchar(512)data6: nvarchar(512)data7: nvarchar(512)
Step 2 - Review the Sample custom.xml File
The custom.xml file lists all additional data fields for CA Service Catalog. Optionally expose an extra data field on the CA Service Catalog user interface by adding a label to the field.
The custom.xml file can be different based on the language that is chosen for the system. This file is located in a different folder for each language. For example, for English (icusen), the custom.xml file is located in the USM_HOME\view\webapps\usm\locale\icusen folder.
Step 3 - Expose Additional Data Fields
You can expose the data fields fields to add custom fields to the user interface.
Follow these steps:
  1. Edit the custom.xml file for the language of your system. For example, for English, edit the USM_HOME\view\webapps\usm\locale\icusen\custom.xml file.
  2. Type the label for the field between the start and end tags for the appropriate field (data1-data7) for the appropriate object: account, business unit (tenant), or user.
    This label appears on the user interface to help users identify the purpose of the field.
  3. Save the custom.xml file.
  4. Verify that the label appears as specified when you view the related object on the GUI. Examples include the associated add, edit, and profile pages.
Example: Expose Additional Fields in the User Interface
This example configures the account data1 and account data 5 fields in the custom.xml file to expose Cost Center and Department data on the GUI:
<account> <data1>Cost Center</data1> <data2></data2> <data3></data3> <data4></data4> <data5>Department</data5> <data6></data6> <data7></data7> </account>
To expose a field without specifying a new label on the user interface, specify a space as the value of the label.