Statements powered by the service - FedStatements

Statement display component

Component properties

Eximee Designer property

Attribute name in Source

Description

Grouping statements by applicability (section Styling)

groupByRequired

An option to group statements into required and optional. If the option is selected, the master checkbox will be visible, and selecting it will affect the selection of required statements. Default value: 'false'. Statement sorting should be done on the service side.

Grouping all statements (section Styling)

groupAll

An option to group all statements. If the option is selected, the master checkbox will be visible, and selecting it will affect the selection of all statements. Default value: 'false'.

-

masterCheckboxDescriptionKey

Translation key containing the label of the master checkbox

circle-exclamation

More information about component properties: Common component properties

The list of statements is populated from a service. The service must expose one endpoint whose content is JSON defining the structure of the statements. The JSON object here is an array of statements, where each statement is described by the 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 applicability, default false

showMoreTextLabel

optional attribute allowing you to override 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, default false

Service examples

Example result of a service returning 4 statements:

Example of a script service returning the configuration from the above example:

Platform translation keys

Key
Description
Default value

iew.rollable.roll

Label of the button for collapsing the additional statement description

Collapse

iew.fed.statements.content.toggle

Label of the button for expanding the additional statement description, or displaying a popup with this content

Expand

circle-info

Demo application: demoFedStatements

Last updated

Was this helpful?