Facilitating data entry through named lists
Task 1: To create a named list
- Log in to BMC Helix Innovation Studio and navigate to the Workspace tab.
- Select the application for which you want to add a named list.
- On the Named Lists tab, click New.
On the Create Named List window, specify the properties for the named list. The following table provides information about the properties:
Property
Description
Example
Name
Provide a unique name for the list.
The name must start with an alphanumeric character and can contain only alphanumeric characters, hyphens, dashes, and spaces.
Record definition
Identify the record definition to associate with the named list.
Important: The Application and Library-scoped definitions are marked with an asterisk ( * ). Make sure that you follow the guidelines listed in Object-definition-scope before you select these definitions.
Filter expression
Define the condition to control which items appear on the named list in the application.
Search behavior
Specify how the search engine should match the search terms and display the results.
The following options are available:
- (Default) Contains—All the values that contain the search term are displayed.
- Starts with—The values that begin with the search term are displayed.
- Exact match—Only the values that exactly match the search term are displayed.
Display name field
Select the field that will store the names of the named list items.
Value field
Select the field that will store the values of the named list items.
If you select different fields for the Display name field and Value field, see selecting different fields for label and source.
Edit contextual label fields
Define additional fields to filter the search results and display more context in breadcrumbs at runtime.
To know how to define contextual label fields, see To filter named list by using contextual labels.
Scope/Customization Options
Define the scope for a named list definition.
This option further contains the following options:
- (Default) Application/Library—To limit the use of the definition within the same Digital Service application or library.
- Public—To enable the definition to be used by all the applications or library, and allow customizations for this definition.
- Save the named list.
(Optional) Task: To select different fields for label and source
If you select different fields for Display name field and Value field, you must add a field to the selected record definition to store the label value, and create a rule to populate the label value.
For example, when you use the record definition that has the support group field with the named list associated with a record grid, you can add a label field for support group, and filter the record grid data based on the label value.
If you do not add a field to store the label value and a rule to populate the label value, you must use the record definition in a record grid in a view definition. On the view definition, when you apply a filter on the support group field, the search result does not display the result for the support group field.
Task 2: To associate the named list with a record definition
After you create a named list, you associate the named list with a record definition.
- Log in to BMC Helix Innovation Studio and navigate to the Workspace tab.
- Select the application for which you want to add a named list.
- Click the Records tab.
- Select the record definition to which you want to associate the named list.
- Select the field name for which you want to define a named list.
- In the Properties pane, click the Settings
icon.
- From the Named list list, select the named list.
- Click Save.
Task 3: To associate the named list with a view definition
After you create a named list, you associate the named list with a view definition.
- Log in to BMC Helix Innovation Studio and navigate to the Workspace tab.
- Select the application for which you want to add a named list.
- On the Views tab, click the name of the view definition to which you want to associate a named list.
- From the Palette pane, drag the Text component to the canvas as you want it to appear on the user interface.
- In the Properties pane, click the Settings
icon.
- From the Field Name list, select the record field with the named list association.
- Click Save.
Task 4: To filter a named list by using contextual label fields
While creating a named list, you can define contextual label fields to help users filter and refine the results at runtime.
- On the Create Named List window, specify the properties for the named list as described in To create a named list.
- Click Edit contextual label fields.
- On the Edit contextual label fields window, click Add contextual label field.
- From the Field list, select the field to refine the search results.
- (Optional) Select the Visible and Searchable checkboxes.
Select Visible, to display the contextual label fields in the breadcrumbs at runtime.
Select Searchable to provide the ability for the user to perform a search on the contextual fields at runtime.
- Click Save.
To copy a named list
You can reuse an existing named list definition by copying it within the application or to a different application or library.
The following image describes how the objects are referenced after you copy the named list to the target application or library:
- Log in to BMC Helix Innovation Studio and navigate to the Workspace tab.
- Select the application or library that contains the named list you want to copy.
- Click Named lists, select the named list definition that you want to copy, and click Copy.
In the Copy definition dialog box, enter the following details:
- From Target application/library, select the target application or library where you want to copy the named list.
- In the Definition name field, type a name for the named list definition.
- Click Copy. The copied named list is displayed in the Named list designer.