Create Page Variant

Page variants are alternative views of an existing page for device groups to target specific device size and characteristics, when the base page does not display well on the device. The base page and the page variant have the same URL, security, parameters, and so on.

Note:

The built-in page templates Mosaic and Unicorn are designed to be responsive to automatically adjust to the display device. Therefore, pages that use these templates do not need device-specific settings or page variants.

If your portal pages use a non-responsive page template, the display on different devices may exhibit formatting issues, such as overlapping text.

Page variants can be created for the Home page and user-created pages in a portal in the portal editor. Like portal pages, when page drafts are enabled in the portal administration settings, a new page variant is initially a page draft and not immediately available when viewing the portal. Users with appropriate permissions can edit or manage the page variant draft as required, then publish the page variant to add it to the portal navigation and make it available to others who view the portal.

Any changes you make to the content of the base page are not reflected in its page variant(s), and vice versa. However, any changes to the page information, security, or parameters of base page are reflected in its page variant(s). Page variants do not include the Summary, Security, Parameters, and Advanced tabs that allow you to edit this information.

To create a page variant for a device group:

  1. Select the Device Group and Page Content and Style:
    • To copy the content and style from the base page, select the Copy Base Page Content and Style check box.

    • To create a page variant with different content and style than the base page, deselect the check box, and select the required page style.

  2. Click Create.

    The new page variant is created and the base page exposes it in the portal navigation. Notice the breadcrumbs at the top show the parent page and page variant.

    Note that you can modify the page variant in both preview mode and edit mode. For example, you can add components to the page variant by clicking Add Content when viewing the page.

  3. To list only those pages for a particular device group, click Desktop in the page editor, and select the device group for which you want to view.
  4. Select, edit, and manage page variants as you would any other page.