Skip to main content

ScoreCard

The ScoreCard ViewTemplate displays selected EntityFields of an Entity, each rendered on an individual labeled card. The label shown for each card is derived from the title or titleProcess property of the corresponding EntityField. This layout supports a compact and clearly structured presentation of key data values.

Usage Context

Example Implementation

An example of this ViewTemplate is OrganisationInformation, which is implemented in the OrganisationPreview_view within the Organisation Context. It is used to present additional information related to a company.

ScoreCard

Appearance in the Client

To access this ViewTemplate in the ADITO client:

  1. Open the Global Menu.
  2. Navigate to the menu group Contact Management and select Company.
  3. Choose any company entry from the list.

The PreviewView will open. Within this view, the ScoreCardViewTemplate is displayed as the footer. It renders several labeled cards, each showing a value from the selected company record.

Configuration

fields

The example OrganisationInformation references the following two EntityFields from the Organisation_entity:

  • LastActivity – a calculated EntityField
  • TurnoverPercentDiff – a calculated EntityField

Each of these fields is rendered on a labeled card within the ViewTemplate.

fieldActions

In this example, the fieldActions property is not configured. If defined, the property allows for assignment of Actions that will be executed when a user clicks on one of the displayed EntityFields. The mapping is position-based:

  • The first Action is assigned to the first EntityField.
  • The second Action is assigned to the second EntityField.
  • And so on.