5. Intro to Application Building in Workshop15. Filtering An Object Set Variable
Feedback

15 - Filtering an object set with a variable

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

📖 Task Introduction

In the previous task, you selected the Priority = medium value in your filter, and although you can see the Current Value of your filter is updating correctly, your table is not responding to your filter selection. This is because your filter variable isn't being used by the object table as shown in the image below.

To connect the components, you’ll need to create a new object set variable that starts with [o] All Flight Alerts and uses the [f] Flight Alerts Filter. You'll plug that new object set variable into your object table in the next task.

🔨 Task Instructions

  1. On the left side of your screen, click the (x) to expand the Variables panel. As you do, you’ll see the three variables that already exist in your module.

    • ℹ️ Up to this point, we’ve been creating variables directly from the widget configurations, but you can also generate them directly in the Variables panel.
  2. Click the ➕ button to the right of the Variables header to see all of the available variable categories.

  3. Choose Object set and then Object set definition from the fly-out window.

  4. You now have an empty object set variable generically named var1. At the top of the window, click into var1 and rename it to [o] Filtered Flight Alerts.

  5. Click Select . . . under Starting object set and choose [o] All Flight Alerts from the short list of existing object set variables.

  6. In the area below, click (x) Filter using variable and choose the only available filter variable in your module: [f] Flight Alerts Filter.