6. Building a Common Operating Picture3. Enabling Multipage Navigation

3 - Enabling Multi-page Module Navigation

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

In the previous course, you used a Workshop Event to trigger the opening of your Drawer. You’ll likewise need to enable your users to trigger the opening of your inbox and COP pages of your application. You’ll do this by implementing a Tabs widget in your module header.

🔨 Task Instructions

  1. Click the right-most in the module header layer and add a Tabs widget.

  2. Open the Metadata tab in the widget configuration panel and change the widget name to Tabs: Pages.

  3. Return to the configuration panel’s Widget setup tab and in the first Tab block, type Alert Inbox into the Label field.

  4. Still within the tab configuration, Under "On Click", click ⊕ Add event and choose Switch to Page: Inbox.

  5. Add an “Inbox” icon from the icon selector.

  6. Go back to your Widget setup tab, then click ⊕ Add Item and create a new block with these settings:

    • Label: COP
    • On Click: Switch to Page: COP
    • Icon: Map
  7. Change the tab order if needed so that Alert Inbox appears before COP.

  8. In your main module panel, click between your Alert Inbox and COP tabs to ensure that pages are switching as expected.

  9. Save and publish.