5. Intro to Application Building in Workshop16. Filtering Your Object Table

16 - Filtering your object table

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

📖 Task Introduction

The final step in getting your object table to respond to your filter widget is to replace the table’s starting object set with the one you generated in the previous task.

🔨 Task Instructions

  1. Click onto your object table widget to open its configuration panel.

  2. In the Input Data block, remove [o] All Flight Alerts by clicking the x at the right of the object set field. Your table will temporarily disappear from view. It's necessary to actively remove this current Input Data rather than just change it to the filtered data, as otherwise Workshop will detect a circular dependency between [o] All Flight Alerts and [o] Filtered Flight Alerts.

  3. In the now empty Select object set variable . . . field, choose your new variable, [o] Filtered Flight Alerts.

  4. In your filter list widget, tick the Priority = medium box and watch your object table update.

  5. Save and publish your module.

    • ℹ️ At any time during your development, you can click the View button in the top right of your screen to see what your published module currently looks like to those who access it. Click the Edit button in the top right to return to the editor mode.

The image below depicts the new, connected architecture that permits your object table to read the filter list variable. Understanding this model will significantly help in developing responsive, sophisticated applications in the Workshop builder environment.