5. Intro to Application Building in Workshop20. Activating Your Overlay With The Events Framework

20 - Activating your Overlay with the Events framework

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

📖 Task Introduction

Your new overlay is connected to your Quiver dashboard, but you’ll need to use Workshop’s Events framework to trigger its opening. In this task, you’ll configure a simple way to open your overlay: when an analyst clicks on a row in the table, the overlay will open. You’ll learn additional ways to trigger events in your module in later tutorials.

🔨 Task Instructions

  1. Return to your main page layer and select your object table (i.e., Object table: Flight Alerts in your layouts panel).
  2. Scroll to the SELECTION block in your table configuration panel. The items in this block determine what happens when you select elements in your table.
  3. Under ON OBJECT SELECT, click ➕ Add event.
  4. Near the top of the list of possible events, locate and click on Open Overlay: Flight Alert Context.
  5. Click on a row in your table and observe the overlay open with your Quiver dashboard populated based on the active (i.e., highlighted) object.
  6. Save and publish your module.