Add Sub-Menus and Columns to a Navigation Menu
Group navigation items under dropdowns, headings and columns, so a service agent finds open cases or closed deals of an account in two clicks.
A service agent works an account from one screen flow. A flat menu with Open cases, Closed cases, Won deals and Lost deals side by side gets long and hard to scan. Grouping them under Cases and Opportunities keeps the top bar to four words, and each group opens a dropdown with its own entries.

Before you start
A screen flow with an Avonni Navigation in horizontal orientation, with the items Overview, Contacts, Opportunities and Cases (values
overview,contacts,opportunities,cases). Set up a Navigation shows how.This page uses the Manual data source. The same settings exist in Data Mappings for a Variable source.
Steps
Add sub items under Cases
Select the Navigation and click Open Component Builder.
In Items, open the Cases item.
Under Sub Items, click Add Item twice:
Open
cases_open
Not closed yet
Closed
cases_closed
Solved or closed
A chevron now appears next to Cases. In a horizontal menu, the Description shows under the label of each entry in the dropdown.
Make Cases a heading
Cases now only groups Open and Closed. There is no "all cases" view to select, so a click on Cases should just open the dropdown.
On the Cases item, turn on Unselectable. A click on Cases opens its menu, and only Open and Closed can be selected. Active Navigation Item Value returns cases_open or cases_closed, never cases.
Choose how the dropdown opens
By default, a click on the label of a selectable item selects it, and only the chevron opens its sub items. Pick the behavior that fits:
Hide Chevron
On the item
No chevron. A click anywhere on the item opens the dropdown (and selects the item if it is selectable).
Open Menu On Hover
Properties, for the whole menu
The dropdown opens when the mouse moves over the item, and a mouse click no longer opens it. Horizontal orientation only.
Show Dropdown Nubbin
Properties, for the whole menu
Adds a small arrow from the dropdown to its item. Horizontal orientation only.
On a touch screen there is no hover, so keep Open Menu On Hover off for agents on tablets.
Lay out Opportunities in columns
For a bigger group, the Columns variant shows each sub item as a column heading with its own entries below it.
Open the Opportunities item and add two sub items: Open (
opportunities_open) and Closed (opportunities_closed).In Open, add Sub Sub Items: This Quarter (
opportunities_this_quarter) and Later (opportunities_later).In Closed, add Sub Sub Items: Won (
opportunities_won) and Lost (opportunities_lost).On Opportunities, set Menu Variant to Columns and turn on Unselectable.
The agent selects This Quarter, Later, Won or Lost. Open and Closed are only column names.

Or use tabs inside the dropdown
Set Menu Variant to Tabs instead: Open and Closed become tabs at the top of the dropdown, and each tab lists its own entries. The first tab is open when the dropdown opens.
Both Columns and Tabs skip a sub item that has no Sub Sub Items, so give every column or tab at least one entry.
Save and test
Click Done, save the flow and run it with Debug.
Click Cases: the dropdown opens with Open and Closed, and Cases stays unselected.
Click Closed: it is highlighted and Active Navigation Item Value is
cases_closed.Click Opportunities: two columns open, Open and Closed, each with its entries.
Use the selected entry
The flow sees one value per entry, whatever its level. A section shown for cases_open and another for cases_closed works exactly like the one-level menu in Build tabs on one screen. A Decision outcome per value works like Reuse one menu across a multi-screen flow.
To open the screen on Overview, set Active Navigation Item Value to overview. Pick a selectable entry as the default, not a heading such as cases.
Troubleshooting
Related tutorials
Build a navigation menu from a picklist: let a picklist field supply the items.
Reuse one menu across a multi-screen flow: build this menu once with an action and share it across screens.
Build tabs on one screen: show a section of the screen per entry.
Was this helpful?
