Configuring binary values for dynamic user input


The Custom Boolean Field component is available in the Shared Components section of the View Designer and is visible only if the Shared Components bundle has been deployed.

Use Custom Boolean Field component to capture binary values such as Yes/No or True/False for dynamic user input. This action simplifies data input and helps users make clear decisions.

Before you begin

Make sure you create a view definition with the Record editor component. For more information, see Creating a view for a record instance by using the record editor.

To configure the Custom Boolean Field component

  1. Log in to BMC Helix Innovation Studio and navigate to the Workspace tab.
  2. Select the application for which you want to add a record editor.
  3. On the Views tab, click the name of the view definition to which you want to add a record editor.
  4. From Palette, drag the Record editor component to the canvas.
    (For components that should be added to the Record editor) From Palette, drag the Custom Boolean Field component to the Record editor component.
  5. In the Properties pane, click Settings 22_1_Settings icon.png, and then specify the following properties:

    PropertyDescriptionExample
    General tab

    Field

    Select a Boolean field from the available options in a record definition.

    1753109073797-699.png

    Display label

    Specify the display name of the record field.
    TooltipEnter text input to provide a tooltip (hover text) for user guidance.

    Value 

    Build a query or set value for association to fetch required results for the selected field.

    Editing Mode

    Select an option to specify the layout for a Boolean field:

    • Switch
    • Checkbox
    ValueBuild a query or set a value for association to fetch required results for the selected field.
    Disabled

    Use the toggle key to disable the record field at runtime, and then select one of the following options:

    • At all times—To keep the record field disabled at all times.
    • When condition is true—To keep the record field disabled only if a certain condition is met.
      Condition—Build an expression to define a condition.
      This option is displayed only after you select the When condition is true option.
    Hidden

    Use the toggle key to hide the record field at runtime, and then select one of the following options:

    • At all times—To keep the record field hidden at all times.
    • When condition is true—To keep the record field hidden only if a certain condition is met.
      Condition—Build an expression to define a condition.
      This option is displayed only after you select the When condition is true option.
    Available on devices 

    Specifies the interface on which the field should be visible. You can select from the following options:

    • Desktop
    • Mobile
    • Tablet

    By default, all three options are selected. 


    CSS classes

    Defines the component style by selecting either of the following options:

    The available options are no margin, 1 pixel border, and white background.

    For more information, see CSS classes used in View designer components.

    Labels
    Display Label for trueSpecify the label that appears when the boolean field value is True.1753109189552-423.png
    Display Label for falseSpecify the label that appears when the boolean field value is False.
  6. Click Save.

Result

The following image shows the Create Case Template, where the Resolution Code Required? option is configured by using the Custom Boolean Field component:

1753109286474-235.png

 

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

BMC Helix Innovation Suite 25.3