Setting up Certinia KPI Cards

This topic describes how to add and configure an FDN KPI Card component on a Lightning app page or record page. For more information about the overall process, see Adding Customizable Lightning Components to Certinia Lightning Pages.

Note: You can also add KPI cards to the FDN Cards Panel component. For details, see Setting up Certinia Card Panels.

The card displays a KPI value that is calculated from the list view, and optionally a field for an object. You can set thresholds that determine the color of the card. If you don't set a threshold the card uses a default color.

To add and configure a KPI card:

  1. Edit the page you want to add the component to. The Lightning App Builder is displayed.
  2. From the custom components list, drag the FDN KPI Card component on to the page.
  3. In the component properties, add the following details, as needed:
    • On an app page, enter the API name of the object that contains the information for the component. For custom objects, include the relevant namespace, such as pse__.
      Note: When adding a Salesforce object, check that it is supported. For more information, see Supported Objects in the User Interface API Developer Guide in the Salesforce Developers Help.
    • Depending on the page type, enter or select the name of the list that provides information for the card:
      • On an app page, enter the API name of the list view.
      • On a record page, select the name of the related list.

        This picklist can include related lists that are defined, but not assigned to the record. If you select an unassigned related list, an error is displayed on the card.

    • [Optional] Enter a title for the card. Leave this blank to use the name of the list view.
    • Enter a description for the card. We recommend that you add a description.
    • [Optional] Enter the API name of the field used to calculate the KPI. If blank, the total number of records in the selected list view is used. Enter a field name to display the value of the field for all records in the list view.
    • Select the calculation type for the field name. If you have not entered a field API name, the default calculation type is Count.
    • [Optional] Enter a label for the KPI. If blank:
      • On an app page, the field in Field API Name is used. If Field API Name is blank, the object name is used.
      • On a record page, the field in Field API Name is used. If Field API Name is blank, the related list in the Related List Name field is used.
    • [Optional] Enter a value between 0 and 100 for the higher threshold. Card values higher than this are highlighted with the color defined in the Greater Than Threshold Color field.
    • [Optional] Select a color for the card when its value is higher than the value in the Greater Than Threshold Value field.
    • [Optional] Enter a value between 0 and 100 for the lower threshold. Card values lower than this are highlighted with the color defined in the Less Than Threshold Color field.
    • [Optional] Select a color for the card when its value is lower than the value in the Less Than Threshold Value field.
  4. For more information on controlling component visibility, see the Salesforce Help.

  5. Click Save.