5. Intro to Application Building in Workshop22. Adding A Metric Card

22 - Adding a Metric Card widget

This content is also available at learn.palantir.com ↗ and is presented here for accessibility purposes.

📖 Task Introduction

The Metric card widget displays Workshop variable values in a configurable card-like interface. There may be some global statistics your analyst will want to see in a prominent spot when accessing the alert inbox.

🔨 Task Instructions

  1. Click the header for your section titled Section: Table. You’ll see a set of two buttons on the left and right ends of the header of the table section near the center of your screen. These buttons allow you to add widgets into the section header.
  2. Click the button on the left, and choose Metric card from the widget list.
  3. In the SELECT LAYOUT STYLE block, set the style to Tag.
  4. At the bottom of the widget configuration panel, change the size from Regular to Large.
  5. Open the configuration panel’s Metadata tab and change the name from the default to Metric card: Avg Risk Score.
  6. Return to the Widget setup tab.