Creating a view to display a list of line of business
As a developer or an application business analyst, you can configure a view definition to display a line of businesses and load a view associated with each line of business.
- LOB List—Displays the line of businesses that are a part of an organization and offer a specific service, such as Human Resources, Finance, Facilities, and Legal.
- LOB View Loader—Displays a view associated with the line of business within your application.
To add a LOB List to 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 LOB List component.
- On the Views tab, click the name of the view definition to which you want to add the LOB List component.
- From Palette, drag the LOB List component to the canvas.
In the Properties pane, click Settings
, and then specify the properties.The following table provides information about the properties:
Property
Description
Example
Display Label
Enter a name to display a unique label for the component.
Data Source
Select the data source from which you want to list the line of business. You can select the data source from the following options:
- BWF—Select this option if you want to use the data from the BMC Helix Business Workflows application.
- ALL—Select this option if you want to use the LOB List as an application switcher.
Named List
Select the named list from which you want to display the list of values.
This option is displayed only after you select the BWF option from the Data Source field.
Named List Filters
Click Click to build an expression, to define additional filters to select the data from the selected named list.
This option is displayed only after you select the BWF option from the Data Source field.
Record Definition Name
Select the record definition from which you want to display the list of values.
This option is displayed only after you select the ALL option from the Data Source field.
Record Definition Filters
Click Click to build an expression to define additional filters to select the data from the selected record definition.
This option is displayed only after you select the ALL option from the Data Source field.
Left Align Label
Turn on the toggle key to display the list next to the display label at runtime.
Value
Click Click to build an expression to define a condition to display a specific value from the list as the default value.
Mode
Select from the following options:
- Dropdown
- Menu
Disabled
Use the toggle key to disable the LOB List component.
Hidden
Use the toggle key to hide the LOB List component at runtime.
Enable Local Storage
Use the toggle key to store the selected line of business in the local storage.
Add None
Use the toggle key to display None as the default value in the LOB list.
- Click Save.
The following image shows an example of the LOB List component used in an application:
To add a LOB View Loader to 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 LOB View Loader component.
- On the Views tab, click the name of the view definition to which you want to add the LOB View Loader component.
- From Palette, drag the LOB View Loader component to the canvas.
In the Properties pane, click Settings
, and then specify the properties.The following table provides information about the properties:
Property
Description
Example
View Name Identifier
Enter a name to display a unique label for the view.
Default View
Select the view that you want to display as default.
Hidden
Use the toggle key to hide the LOB View Loader component at runtime.
LOB Configuration
LOB Named List
Select the named list from which you want to display the list of values.
LOB Source
Select the LOB source from the following options:
- Local Storage—Source for line of business from the local storage
- Record Instance—Source for line of business from a record definition
- Input Parameter—Source for line of business defining the input parameter
Related Record Definition
Select the record definition from where you want to select the data for line of business.
This option is displayed only after you select the Record Instance option from the LOB Source field.
LOB Field
Select the field from the record definition that you want to use to select the data for line of business.
This option is displayed only after you select the Record Instance option from the LOB Source field.
Record Instance GUID param
Select the field from the record definition to define the record instance.
This option is displayed only after you select the Record Instance option from the LOB Source field.
Line of Business
Click Click to build an expression to define line of business.
This option is displayed only after you select the Input Parameter option from the LOB Source field.
LOB View Input Parameter
Select the field that you want to provide as an input to the line of business.
This option is displayed only after you select the Input Parameter option from the LOB Source field.
- Click Save.