Define a widget as a template for an indicator card
Cards are used to give a quick overview of important indicators in a content area. There are different types of cards:
- Data workbench visualizations: Users can define card visualizations of numbers derived from the current data in a data workbench. They can then store them as content item and add them to content areas.
- Indicator visualizations: Administrative users can create cards for indicator types and evaluation types. The cards for indicator types display a single indicator value. The cards for evaluation types display multiple indicators. The administrative user creating the card for an evaluation type can decide whether indicators shall be added for all indicator types of the evaluation type or for only a subset of the indicators.
Definition of widget card templates is optional. Users can use the Standard Cards Available in the Meta-Model. You can define multiple additional widget card templates for indicator cards and for data workbench visualizations as adaptations of the standard cards. The users can choose between the standard and custom widget card templates.
To provide customized widget card templates:
- Define a widget card template in Alfabet Expand, copy the adaptive card JSON from one of the stardard card templates and map binding expressions to Alfabet value types.
- If your customized widget card template should be used in data workbench visualizations instead of the standard widget card template, configure the Alfabet solution accordingly.
The following terms are used in the documentation:
-
Microsoft adaptive card template: The Microsoft® adaptive card template JSON the card template is based on.
It is not possible to use the Microsoft® adaptive card designer to build own adaptive cards as basis of the widget card templates in Alfabet. Only the adaptive card templates provided with existing standard widget card templates in Alfabet Expand can be used to create new widget card templates.
- Widget card template: The Alfabet widget card template is defined in Alfabet Expand to map variable content in the Microsoft® adaptive card template to Alfabet values.
- Widget: The widget definition is part of the indicator type or evaluation type configuration. A widget maps the widget card template to a specific indicator type or evaluation type and can optionally further define coloring and text attributes.
- Card: A card is the content item that is stored in the content repository so that a user can add it to a content page. The card can be generated by the user in the context of the data workbench. Cards are also available for indicators based on an indicator type or evaluation type that has a widget definition.
- Binding expression: A binding expression is the variable element of Microsoft adaptive card templates.
- Variable definition: A variable definition is part of the widget card template configuration. A variable definition maps a binding expression to either a static value or a value from the Alfabet database.