You are here:
showNavigation Attribute
The showNavigation attribute is supported in these page patterns (within the UI contracts):
Required Editions
| Available in Lightning Experience in Professional, Unlimited, and Enterprise Editions that have Consumer Goods Cloud enabled. |
- SingleSectionPage
- MasterDetailSectionPage
- MultiSectionPage
- SplitScreenPage
This table describes the showNavigation attribute:.
| Attribute | Description | Values/Pattern | Required |
|---|---|---|---|
| showNavigation | Determines whether the associated page displays a navigation menu (and the hamburger icon) in the corresponding page header (in the mobility application). This attribute can have these values: true and false.
If the showNavigation attribute isn’t used, the default value is true. |
Boolean | No. The default value is true. |
The showNavigation attribute and its values are auto-proposed in the XML editor of Mobility Modeler for the supported page patterns.
Note
- The showNavigation attribute is only relevant when you model a process navigation.
- If you set the showNavigation attribute as false in a process, its child processes with the showNavigation attribute set as true show the navigation menu (and the hamburger icon) in the mobility application.
- If you set the showNavigation attribute as false and the associated UI contract defines a Cockpit navigation, the Cockpit navigation menu is shown in the mobility application due to higher precedence.
- If you set the showNavigation attribute as true (or not used) and the associated UI contract defines a Cockpit navigation, a warning message logged for the navigation definition related conflict is shown.
- If you set the showNavigation attribute as true with no navigation related content defined in a UI contract, Framework ignores the showNavigation attribute.
Sample Code
<!-- left out details for brevity -->
<Page pagePattern="SingleSectionPage" showNavigation="false" cachable="false"> Did this article solve your issue?
Let us know so we can improve!

