This documentation supports the 22.1 version of BMC Helix Innovation Studio.To view an earlier version, select the version from the Product version menu.

Adding dependent fields to a view


The Dependant Field Select component is available in the Shared Components section of the View designer, and is visible only if the Shared Components bundle is deployed.

As a developer or an application business analyst, you can use the Dependant Field Select component to display a subset of options in a field based on the selection made in another field. Adding dependant field improves the user's experience because they only have to make a decision based on relevant selections, filtering out irrelevant information.



Important

Application business analysts can customize the objects developed in their own applications and that are marked customizable by the administrator, but cannot customize the objects developed in com.bmc.arsys in Best Practice Customization mode. For example, objects in core BMC applications like Foundation, Approval, and Assignment cannot be customized in Best Practice Customization mode.  For more information, see Customization-layer.

Before you begin

Make sure you create a view definition with Record editor to which you want to add a dependant field. For more information, see Creating-a-view-for-a-record-instance-by-using-record-editor.

To add a dependant field to a view definition

  1. Log in to BMC Helix Innovation Studio and navigate to the Workspace tab.
  2. Select the application for which you want to add the Dependant Field Select component.
  3. On the Views tab, click the name of the view definition to which you want to add the Dependant Field Select component.
  4. From Palette, drag the Dependant Field Select component to the Record editor component.
  5. In the Properties pane, click Settings Settings icon.png, and then specify the properties.

    Property

    Description

    Example

    Field name

    Select the field that you want to use as a dependant field.

    The list of fields is displayed from the record definition you selected for the Record editor component.


    Dependant field general configuration.png

    Display label

    Enter a name to display a unique label for the component.

    Value

    Define a condition or qualification to filter out or display a specific value.

    Disabled

    Turn on the toggle key to disable the Dependant Field Select component.

    Hidden

    Turn on the toggle key to hide the Dependant Field Select component at runtime.

    Dependant Fields


    Source Record Definition

    Select the record definition that will control the available values in the corresponding dependant field.

    Dependant fields.png

    Field For Filtering Record

    Select the field from the source record definition based on which you want to control the available values in the corresponding dependant field.

    (Optional) Named List Filter

    Click Click to build an expression, select the named list that you want to associate with the record field.

    (Optional) Dependant Fields

    Click Click to add dependant fields, select the fields from the Available Dependent Fields list.

    The value of these fields is updated based on the value you select in the field which you use as a dependant field.

    (Optional) Line of Business

    Click Click to build an expression, to add a line of business as a dependant field.  

  6. Click Save.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*