Skip to content
MyAppBuilder
StableGuide

Navigation

Navigation is everything that takes a visitor from one page to another: the app menu that every standard page shares, buttons and rows that open pages, modals and drawers, breadcrumbs and the back button. In MyAppBuilder all of it is configuration — menu settings on pages and nav

Navigation is everything that takes a visitor from one page to another: the app menu that every standard page shares, buttons and rows that open pages, modals and drawers, breadcrumbs and the back button. In MyAppBuilder all of it is configuration — menu settings on pages and navigation actions on components — and the Storyboard draws the result so you can check it.

When to use

Set up the app menu once in Theme and on each page. Add navigation actions wherever a visitor should move on: a table row that opens a detail page, an Add button that opens a modal, a Done button that goes back.

The app menu

  1. Open Theme and choose the navigation style under component styles: Top bar, Sidebar or None.
  2. For each page that belongs in the menu, turn on Show in navigation (page settings → General). Only standard pages without route parameters can be listed; their order is the order in the Pages panel.
  3. Give pages an icon if you want icons in the menu.

The menu shows the app name or logo (click it to go home), the pages the current visitor may open, and — when sign-in is enabled — a Sign in button or the signed-in user's name (opens the account screen) and a sign-out button. On small screens the menu collapses behind a menu button.

The Navigation Menu component

When you need a menu somewhere specific — a portal area, tabs within a page, a mobile bottom bar — add the Navigation Menu component from the Basic category:

  • Style: Horizontal, Vertical (sidebar), Tabs, Pills or Bottom bar (mobile).
  • Pages: Pages shown in the app menu or Choose pages (then tick the pages). Only standard pages without parameters can be chosen.
  • Show page icons, Show labels, Alignment.

Like the app menu, it only renders pages the visitor may open.

Open the Actions tab of a button, link, card, table (onRowClick), form (onSuccess) or the page itself (When the page opens) and add one of:

ActionWhat it does
Go to pageOpens a standard or dynamic page. Set route parameters (e.g. :id from Event › record or Current record › id), query parameters, Replace history entry and Open in a new tab
Open modal page / Open drawer pageOpens a modal or drawer page as an overlay, with parameters
Close modal / Close drawerCloses the overlay the action runs in
Go backReturns to the previous page in the browser history
Open URLOpens an external address, optionally in a new tab
Sign in / Sign outOpens the sign-in screen or signs the user out

Actions run in order, so you can Create record and then Go to page. Wrap a navigation in If / else to make it conditional. The Storyboard offers a faster way to create the same actions: drag from one page to another, or use Link to page in the page inspector. See Navigation edges.

The Breadcrumb component shows the path to the current page. Leave it automatic, or list the items yourself, one per line as Label|pageId (copy a page's id from the inspector header of its root or from the page settings dialog). Breadcrumb items navigate like Go to page.

Back

Use the Go back action on a button, or rely on the browser's back button; both return to the previous address. Modal and drawer pages close instead of navigating back.

Example: list → detail → back

Example
Jobs page:    Table (onRowClick) ──Go to page──▶ Job detail (:id = Event › id)
Job detail:   Button "Back"      ──Go back────▶ Jobs page
Job detail:   Button "Edit"      ──Open modal page──▶ Edit job (modal, :id = Page parameter › id)

Common mistakes

  • The menu does not show a page: it is dynamic, modal or drawer, has Show in navigation off, or the visitor's role cannot open it.
  • A button leads to a page some visitors cannot open: the Storyboard flags a permission mismatch; restrict the button with Permissions or widen the page access.
  • Opening a dynamic page without its parameter: the page shows nothing; pass :id in the action.
  • Expecting the sidebar on mobile: the sidebar collapses behind the menu button; use a Bottom bar Navigation Menu for mobile shortcuts.

Related

Was this helpful?