Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt
hiddentrue
nameAssign pages to variant

There are several ways to assign a page to a variant, find out how in this page.

Once a variant has been created in the administration, you will need to assign pages to it.

There are several ways to assign a page to a variant:

  • On the Confluence page where requirements are defined

  • On the Administration page.

On the Confluence page

...

The byline dialog gives you the information of the assigned variant.

...

When you change the variant, you need to click the Save button.

It may display if the page has children, and if you want to also include them in the assignment.

...

Example of a page having children, and user selected to include children.

The user has to click Save button to trigger the indexation.

...

...

The byline dialog knows if there are children to index or not.

In this case, it does not propose to Include child pages, because the page does not have some.

...

Assign pages individually to a variant

Before having any variant created, all your pages will be in ‘Current’ by default. You can see that information in the Byline.

Image Added

The easiest way to create a variant, is to duplicate your current page. Make sure you give it a different name, by adding the name of the variant for example.

Image Added

It is normal to see a

Status
colourRed
titlemultiple definitions
error on your requirements because the duplicated page is also in 'Current', for now. You will then need to assign your duplicated page to the correct variant.

Image Added

To assign the page, go into the byline and click on: “Variant : “Current” (change)”. You will then see this dropdown.

Image Added

Select the desired variant and click on Save and re-index.

Image Added

If your page has children pages, you will also be able to include them in the variant. Rick ‘Include child pages’ and save.

Image Added
Note

If your page requirements are listed as dependencies of other requirements, the dependencies will have to be edited to point at the new variant.

...

Bulk assign pages to a variant in the Administration

...

When clicking on the Assign pages button, a dialog is displayed:

When opening the dialog a list of page of your space are displayed as a tree (first level, then you can expand to see the children)

  1. You can filter the pages

    • By typing the name

    • By using the CQL syntax

  2. The list of variants associated to the displayed pages are listed. You can search the variant you want to use by typing in the Select a variant placeholder

  3. You need to check the boxes next to the pages you want to assign

  4. Then you drag and drop the selected items onto the variant you want.

The process may take some time, you can close the dialog, the processing is done in background.

Image Removed
Image Added