Create an App Navigation Bar

To create consistently branded apps, use a navigation bar that persists from page to page. You can do this by creating a Principal and Dependent pages. Add a Navigation component to the header portion of the principal page to redirect end users to different pages. Then, create those pages in the app as dependent pages to that principal page.

Using the Go to URL action

Each navigation bar item uses the Go to URL action to redirect to a specific route. To direct end users to a specific app and page, just enter the base and page URLs in the Go to URL action. A button redirecting users to the calendar page within the marketing app would use /marketing/calendar as its redirect URL.

Note:  Begin the redirect URL with a backslash (/), otherwise the value will be appended to the page URL as a whole. For example, a redirect URL of marketing/calendar from a marketing dashboard located at https://www.example.nintex.app/marketing sends users to https://www.example.nintex.app/marketing/marketing/calendar.

Once you set the redirect URL, Nintex Apps adds it to the end of Nintex Apps tenant's domain URL (such as https:///www.example.nintex.app/), sending users to the appropriate location at https:///www.example.nintex.app/marketing/calendar.

Absolute URLs

It's possible to use absolute URLs, with the full domain path included. For example, using https:///www.example.nintex.app/marketing/calendar as the redirect URL works just as well. However, if these app pages are used across multiple Nintex Apps tenants, their redirect URLs will only work in www.example.nintex.app; they will not work in the other tenants, because the absolute URL references only the www.example.nintex.app domain.

Creating Principal and Dependent pages for app navigation

Note:  This tutorial guides you through the creation of a 4-page app to see how app navigation works. The app consists of the following pages:
  • Dashboard: A marketing dashboard ( the home page)
  • Calendar: Calendar of marketing events and deadlines
  • Swag: List orders for marketing products
  • Data: Collections of collateral and customer data

The tutorial guides you create the necessary pages and you can choose which models and components to include. The focus of this example is app navigation.

Result

From the Apps page, click into the app and select apps home page (the Dashboard). Click Preview. Using the navigation bar, navigate among the four pages of the app. Because of this principal page's navigation header, each page within the app has a functional navigation bar which points to every other page—ensuring end users always have a way to maneuver through the app.