Statements fed from a service - FedStatements
Component displaying statements

Component properties
Eximee Designer property
Attribute name in the Source
Description
Grouping statements by required status (section Styling)
groupByRequired
Option for grouping statements by required and not required. If the option is selected, the master checkbox will be visible, and selecting it will affect selection of required statements. Default value 'false'. Statement sorting should be done on the service side.
Grouping all statements (section Styling)
groupAll
Option for grouping all statements. If the option is selected, the master checkbox will be visible, and selecting it will affect selection of all statements. Default value 'false'.
-
masterCheckboxDescriptionKey
Translation key containing the master checkbox label
Note! If both grouping options are selected: groupByRequired and groupAll, only the Grouping all statements option will be taken into account.
More information about component properties: Common component properties
The statements list is populated from the service. The service must expose one endpoint whose content is a JSON defining the structure of the statements. The JSON object here is an array of statements, where each statement is described by attributes:
Attribute
Description
id
unique statement identifier, which will be returned in the component value
content
statement content
description
optional statement description visible after expansion
required
statement requirement, false by default
showMoreTextLabel
optional attribute allowing overriding the text of the button expanding the statement description
showMoreInPopup
flag indicating whether the statement description should be shown in a popup instead of the default expansion, false by default
Service examples
Sample result of a service returning 4 statements:
Example of a script service returning configuration from the example above:
When the component is fed by a script service, the result passed to the parameter output should be a text containing JSON with the list of statements. You should not return the JavaScript array directly as output, e.g. output: statements.
Correct format: return [{ output: JSON.stringify(statements) }];
Platform translation keys
iew.rollable.roll
Button label for collapsing the additional statement description
Collapse
iew.fed.statements.content.toggle
Button label for expanding the additional statement description, or displaying a popup with this content
Expand
Last updated
Was this helpful?
