AutoText
<span id="parameterText" data-parameter="ParameterOne"></span>
This will bring in the data from a parameter called ParameterOne'.
<span id="arrayItemText" data-entity="AnArray" data-indices="1" />
![]() |
Note This example has two
data-* attributes, one,
data-entity, to specify the entity by name and the other,
data-indices, to tell AutoText which element in the array entity we want displayed. The attribute is called
data-indices in plural form because an array may have more than one index, in which case you could, for example, write:
<span id="arrayItemText" data-entity="AnArray" data-indices="3,10" /> |
The indices are separated by commas. If you specify an index that does not have an item in that array or set, then the HTML node will be empty. Check the web developer console in your browser for any errors.
The remaining feature of the AutoText component is formatting. This is specified on the individual entity and is covered in the section Entity Formatting.
© 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.