Note: Nintex Apps data centers are located in West US and Australia (AUS). In-region processing of Nintex Apps data is only available in these regions.

Principal and Dependent Pages

Have you created a great page with an effective layout, a branded header, and solidly working models? Re-use that page—without having to rebuild it—by designating it as a principal page. Think of principal pages as templates for dependent pages, allowing builders to create a consistent, branded experience. Use principal pages to craft layouts and add resources—including custom labels or JavaScript—that will display and be accessible within any dependent pages.

Let's see how it works by creating a principal page, and then using it to create a dependent page.

Note:  Principal and dependent pages were previously known as master and child pages, respectively. You may still see references to this terminology in older materials or Nintex Apps metadata.

Create a principal page

First, you create a page and configure it. Then, add a Page Region.

Populate the principal page

Now that the page is designated as a principal page and has the necessary Page Region component, it's important to do some design thinking. What elements do you want to have on the principal page that will ripple into every subsequent dependent page? For this example, let's give the principal page some branding.

Create a dependent page from the principal

You now have a principal page that provides top-level navigation, a branded background, and a copyright notice. Use that principal to create a page that lists accounts.

First, create a dependent page, in this case, one that displays account information.

Note: 
  • dependent pages must be created from scratch.
  • They cannot become a principal page for other dependent pages.

The result

The page now has a navigation bar at the top, a Table listing accounts beneath the navigation, a colored background for the body of the page, and a copyright notice at the bottom. The page-specific information (the accounts Table) has been added to the content from the principal page.

Managing principal and dependent pages

  • Need to edit the components or elements that display on every dependent page? These are managed from the principal page; open that page and edit the items.
    • After making changes to a principal page, be sure to refresh any open dependent pages to see those changes.
  • Need to edit page specific content on dependent pages? Open the individual dependent page and edit items in the Page Region.
  • You cannot convert an established page into a dependent page because dependent pages have a different XML structure. It is possible to do this manually by copying and pasting portions of the principal page's XML into the dependent page's XML.