<< Click to Display Table of Contents >> Navigation: Support > Reconfigurable Rulebook > Definition Objects > FieldSource |
Description
FieldSource is a child object of ResultListField.
Within a ResultListField the Method property describes the type of data, and the Source property describes where the data is coming from.
Definition
Name |
Value |
Description |
Name |
String |
The value of Name is dependent on the .Method value in the parent's ResultListField. When the ResultField.Method is Score, ProjectedScore, or Gap, Name is the name of the Event to pull the participant's score from.
When the ResultField.Method is Attribute, Name is the SetName of the Attribute to use.
When the ResultField.Method is ParticipantAttribute, Name is the property name on the Participant object.
Required. |
ScoreFormat |
String |
The ScoreFormatName to use to format the score. Required only when the ResultField.Method is Score, ProjectedScore, or Gap. |
Value |
Integer |
When the ResultField.Method is Gap, Value is the rank of the participant to compare agaisnt.
-1 means the participant directly ahead Values > 0 mean that specific spot (e.g. 1 being the leader, or 8 being cut to make Final). |
TruncateAt |
Integer |
If the length of the returned string is longer than .TruncateAt, then the string is truncated at this length and has a set of ellipsis ("...") added to the end. A value of < 3, means never to truncate.
Not required, defaults to 0. |
Example