Initializing help system before first use

To Repeat all Form Fields for each element in a Set

You can create a form where the form fields are repeated for each element in a set and linked to each of the elements of the array.
  1. In the Palette > Components group, click and drag the Form element onto the artboard.
  2. Drag a Repeat Contents element onto the Form on the artboard and enter the following in the repeat expression field:
    =index in scenario.entities.MY_SET
  3. In the Palette > Components, click and drag the Field element onto the Form.
  4. Select the Field element on the Form. In the Attributes pane:
    • Set Data > Entity to the element that will store the data (MY_ARRAY).
    • Set Label to ='MY_ARRAY(' + index.label + ')'.
    • Set Indicies to =index.value.
Code editor
<vdl-form vdl-repeat-contents="=index in scenario.entities.MY_SET">
    <vdl-field entity="MY_ARRAY" label="='MY_ARRAY(' + index.label + ')'" indices="=index.value"></vdl-field>
</vdl-form>

© 2001-2020 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.