3 - Adding Widgets: Simple Property Card

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

📖 Task Introduction

Some widgets display only properties of the object in view; others only show properties on objects linked to the object in view. Still others can reach across the Ontology and access data from objects transitively linked to the object in view. Throughout this tutorial, you’ll work with a relatively small number of representative widgets. Learning their configuration patterns will enable you to more easily approach others not covered here.

🔨 Task Instructions

  1. From edit mode, select the light gray ——— ➕ Add widget ——— link near the top of the Overview tab. A window of available widgets comes into view.

  2. Using the search bar at the top of the window, find and ⊕ Add the Property Cards widget

  3. When you select a widget in Edit mode, its configuration panel opens on the right side of the screen. At the top of the property card configuration panel, select Add new card.

  4. You’ve added one card to your widget, but you’ll need to configure it before it displays any data. Click on the Add New Card button that now appears in the CARDS section of the configuration panel, then click into the 'Property not set' block for your flight alert object. The card configuration window appears.

    In the card configuration, we can choose to display a single property or some aggregated value from a linked object set. Let’s start simple and just display the type of flight alert.

  5. In the Property field in the card configuration window, choose the Rule Name property (i.e., the rule that hypothetically triggered the flight alert). The value now displays in the property card, which can be further configured using the guidance in the recommended reading section below.

The property card widget is a convenient way to surface properties and aggregations over linked objects. You will have more opportunities to create these cards in this tutorial, but read more about their configuration and visualization options in this documentation entry.