Configure Multiple Page Sets

A page set is a group of pages in White Label Data that can be associated with a given user’s profile. You can create multiple page sets and assign different page sets to different users. This allows you to segment your users into groups and provide different navigation menu choices and pages based on their user profile. See Personas.

Page sets are configured in appconfig.json. Each page that is added to a page set shows up as a navigation choice in the menu. Here is an example with multiple page sets:

"app_page_sets": [
        {
            "app_page_set_name": "sales",
            "app_pages": [
                {
                    "page_type": "html",
                    "page_name": "overview",
                    "page_title": "Overview",
                    "page_src" : "overview.html"
                },
                {
                    "page_type": "html",
                    "page_name": "sales_detail",
                    "page_title": "Sales Detail",
                    "page_src" : "sales_detail.html"
                }
            ]
		},
		{
            "app_page_set_name": "marketing",
            "app_pages": [
                {
                    "page_type": "html",
                    "page_name": "overview",
                    "page_title": "Overview",
                    "page_src" : "overview.html"
                },
                {
                    "page_type": "html",
                    "page_name": "marketing_detail",
                    "page_title": "Marketing Detail",
                    "page_src" : "marketing_detail.html"
                }
            ]
		}
    ]

In the above example, there is a sales page set and a marketing page set. Both page sets includes the same Overview page, but the sales page set additionally has a sales-specific page and the marketing page set additionally has a marketing specific page in the navigation.

Assigning a Page Set to a User

You can assign a page set to a user at the time you invite that user to the app. See Invite Users to the App for more details.

You can also change the page set associated with a user at a later time by modifying the app_name attribute in app_metadata in Auth0 directly. See Personas for more details.