6. Building a Common Operating Picture24. Trigger Your Overlay With A Button

24 - Trigger Your Overlay Layer with a Button

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

On the flight alert inbox page of your module, you use the Workshop Events framework to trigger your drawer when a user clicks a row in the object table. Here, you’ll learn to control events using a Button Group widget.

🔨 Task Instructions

  1. Click into your Map section header and then on the right-most button.

  2. Add a Button group widget. When its configuration panel opens, change its name in the Metadata tab to Button group: Airport Details. Then, return to the Widget setup tab.

  3. In the Button Configuration section, select Button 1. In that item, apply the following settings:

    • Text: Selected Airport Details
    • Intent: Success
    • Left Icon: List detail view
    • Description: Open the object view for the selected airport
    • ⊕ Add event: Open Overlay: Airport Object View
  4. Test your button by clicking on an airport point on your map and then on your new button.

  5. Save and publish.