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 three 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. The users can choose between the standard and custom widget card templates.
To provide customized widget card templates:
- Define a Microsoft® adaptive card template. Include variables that will later be filled in Alfabet with current values.
- Define a widget card template in Alfabet Expand, upload the adaptive card JSON and map the adaptive card 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.
Different tools are required for this configuration:
The following terms are used in the documentation:
- Microsoft adaptive card template: The Microsoft® adaptive card template JSON that is defined in the Microsoft adaptive card designer.
- Widget card template: The Alfabet widget card template is defined in Alfabet Expand to make the Microsoft adaptive card available in Alfabet and map variable content 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.