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
Click the right-most ➕ in the module header layer and add a Tabs widget.
Open the Metadata tab in the widget configuration panel and change the widget name to Tabs: Pages.
Return to the configuration panel’s Widget setup tab and in the first Tab block, type Alert Inbox into the Label field.
Still within the tab configuration, Under "On Click", click ⊕ Add event and choose Switch to Page: Inbox.
Add an “Inbox” icon from the icon selector.
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
Change the tab order if needed so that Alert Inbox appears before COP.
In your main module panel, click between your Alert Inbox and COP tabs to ensure that pages are switching as expected.