5. Intro to Application Building in Workshop13. Adding A Filter List Widget

13 - Adding a filter list widget

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

📖 Task Introduction

Your table lists all of your flight alerts ordered by risk score, but you may also want to allow your operations analyst monitoring the inbox to filter the table on various properties, for instance to view only those alerts with a “Pending Triage” status.

In this exercise, you’ll introduce filters and filter variables into your application logic and learn to connect them to other widgets.

🔨 Task Instructions

  1. Select the blank, generically named Section from the table of contents. In the section configuration panel that opens on the right, update the Section Name to Section: Inbox Filters.

  2. Change the Section Title from Section to Filters and give it the “Filter list” icon from the icon selector.

  3. Toggle the Collapsible switch on and ensure the section is Open initially. This will give your users the option of collapsing the filter section to make more room for the table.

    • This places a small collapse/expand icon in the top right of the section.
  4. In the Filters section of your dashboard (the left column among the two columns in the center of the screen), click ➕ Add widget and select Filter list.

  5. Change the widget name in the configuration panel’s Metadata tab to Filter list: Alert Filters.