Adding custom fields to views
Types of fields that you can add to a view
You can add the following types of fields to a view:
- Attachment
- Boolean
- Date
- Date/Time
- Decimal
- Floating
- Integer
- Selection
- Text
- Time
Methods for adding a custom field to a view
You can add fields to a view by using the following methods:
Method | Description |
---|---|
Use this method to add fields to views that cannot be customized directly. You can extend such views to add custom fields. | |
Use this method to add fields to views that can be customized and consists of a record grid element. You can update the record grid of such views to display columns. |
To add a field to a view by using an extension container
By using an extension container, you can add custom fields only to the following views:
Application | Bundle | View |
---|---|---|
Case Management Service | com.bmc.dsm.case-lib | Default Case Create |
Default Case Edit | ||
Configure Case Assignments - Create | ||
Configure Case Assignments - Edit | ||
Configure Case Approvals - Create | ||
Configure Case Approvals - Edit | ||
Case Preview | ||
Employee file Note: From version 22.1 and later, the Person Profile view is replaced by the Employee file view. If you have upgraded from version 21.3 to 22.1 or later, and if you used the extended view for Person Profile in version 21.3, you must create a new extended view for Employee file. If you modified the case and task related views in version 21.3, the customized Person Profile view is opened from case or task, and not the Employee file view. | ||
Task Management Service | com.bmc.dsm.task-lib | Default Task Create |
com.bmc.dsm.case-lib | Default Task Edit | |
Task Preview |
To add a field to a view by using an extension container, perform the following steps:
- Log in to BMC Helix Innovation Studio and navigate to the Workspace tab.
- Select the application for which you want to update a view, such as Case Management Service.
- Select View > New > Flexible > Container.
On the Properties tab, click Edit
, and complete the following fields:
Field
Description
Name
Enter a name for the view.
Field
Description
Name
Enter a unique name for the record editor.
Label
Enter the label to be displayed in the application.Note: If you do not provide a label, the bundle name is displayed in the extended view.
For example, if you extend the Case Create view, the bundle name Case Management Service is displayed in the view.
Record Definition Name
The record definition is auto-populated in the field based on the view you extended, you can select the existing custom and out-of-the-box fields from the same record definition.
Association to Use
If there is only one association, the name of the association is auto-populated. If there are multiple associations, select the association that you created earlier.
Note: If you extend a view that uses the Case record definition, you do not need to specify an association.Mode
The mode of the record editor is automatically set to match the mode of the record editor in the view you extended.Note: Do not change the mode. If you select a mode that is different from the mode of the record editor in the view you extended, the extension view is not displayed in the application.
CSS classes
Enter the custom CSS classes that you need to apply to the view.
Form Contents
To include specific record fields to appear in the view, click Quick Add/Remove fields, and select the custom fields that you require.
(Optional) Click to build an expression
If you want to hide or display these fields when specific conditions are met, in the Expression Editor, build an expression on the fields in the record editor. For information about how to build expressions in view definitions, see
.
- Click Save.
- (Optional) To confirm whether the custom fields are added correctly, click Preview.
- (Optional) To check whether these fields are working correctly, as a case agent, log in to BMC Helix Business Workflows and create or edit a case or task to check the new fields.
To add a field to a view by updating the record grid
By updating the record grid, you can add custom fields only to the following views:
Application | Bundle | View |
---|---|---|
Case Management Service | com.bmc.dsm.case-lib | Default Cases Console |
Configure Case Assignments | ||
Configure Case Approvals | ||
Case Watchlist | ||
Task Management Service | com.bmc.dsm.case-lib | Default Task Console |
Knowledge Management | com.bmc.dsm.case-lib | Default Knowledge Articles |
To add a field to a view by updating the record grid, perform the following steps:
- Log in to BMC Helix Innovation Studio and navigate to the Workspace tab.
- Select the application for which you want to update a view, such as Case Management Service.
- On the Views tab, click the view that you want to update, such as Cases.
- In the view, select Record Grid.
- Click Add/Remove Grid Columns.
- From the Available Columns section, select the field that you added in the record definition.
For example, select the Follow-up date field. - Click Save.
- (Optional) To confirm whether the custom fields are added correctly, click Preview.
- (Optional) To check whether these fields are working correctly, as a case agent, log in to BMC Helix Business Workflows and create or edit a case to check the new fields.