Skip to content
MyAppBuilder
StableGuide

Broken navigation

Navigation is broken when an action points somewhere the app cannot go: a page that no longer exists, or a dynamic page without the parameter it needs. The first is an error that blocks publishing; the second is a warning that leaves visitors on an empty page. Both are found by V

Navigation is broken when an action points somewhere the app cannot go: a page that no longer exists, or a dynamic page without the parameter it needs. The first is an error that blocks publishing; the second is a warning that leaves visitors on an empty page. Both are found by Validate flow and by the publish checklist, and both are fixed on the component that owns the action.

When to use

When the toolbar badge turns red, when the publish checklist's Navigation item fails, or when a user reports a button that "does nothing".

Deleting a page in the Pages panel or the Storyboard also removes every navigation that pointed to it. A broken target can still appear when a page was removed by another means (for example an AI change you kept while undoing something else) or when a page was restored from an older version without the pages it linked to.

The flow report lists Page X has a navigation to a page that no longer exists with the event and component. Because there is no node to point at, no edge is drawn; the issue selects the source page instead.

Fix:

  1. Click the issue to select the source page, then Open in Build.
  2. Select the component named in the issue, open the Actions tab and find the Go to page / Open modal page / Open drawer page action with no page.
  3. Pick a new target page, or delete the action.

A dynamic page such as /jobs/:id needs :id. An edge that does not pass it is amber with a missing :id badge, and the report shows Job detail requires :id. Select the edge and set the parameter in the inspector. See Dynamic routes.

The publish checklist checks more than navigation; the component checks report, for example, a Pagination component that paginates a removed component, a form that uses a deleted entity, or a select whose options come from a deleted entity. Each line names the page and component, so you can search for it with Ctrl+K.

Example

Example
✖ Jobs has a navigation to a page that no longer exists
   onRowClick on component Jobs table
→ Build → Jobs → select "Jobs table" → Actions → onRowClick → Go to page: (none) → choose "Job detail"

Preventing broken navigation

  • Delete pages from the Pages panel or the Storyboard, which cleans up actions for you.
  • Prefer Link to page and drag-to-connect: they only ever create valid actions.
  • Run Validate flow after restoring an old version.

Common mistakes

  • Deleting the whole button to silence the error: if the destination still exists under another name, retarget the action instead.
  • Treating a missing parameter as harmless: the detail page will load nothing for real users.
  • Looking for the edge on the map: broken targets have no edge; use the report to reach the source page.

Related

Was this helpful?