Context Configuration Screen

The Context Configuration screen allows you to manage the default context of your system and create Alternate Contexts, setting conditions for when those contexts are to be viewed on the Frontend.

To access the Context Configuration, click on the System ConfigurationSystem config icon icon in the top right hand corner of the screen – a drop down list will appear under this icon. From this list, select Context Configuration – the screen will appear. The List of Current Contexts section of the Context Configuration screen is shown in the figure below.

The List of Current Contexts section of the Context Configuration screen
The Context Configuration screen

List of Current Contexts

This section lists the current contexts on the system, including the Default Context and any Alternate Contexts that have been created.

Default Context

This section displays the Default Context for the system. This context will be used when no Alternate Contexts have been created or if none of the Alternate Contexts’ conditions can be matched and no alternate Base Context has been assigned. Please note that the conditions and order of this context cannot be configured.

To edit the name of the Default Context, click on the edit icon icon – the Edit Selected Context section will be displayed, as shown in the figure below.

The Name field on the Edit Selected Context section for the Default Context
The Name field in the Edit Selected Context section of a Default Context 

In the Name field, enter a new name for the context and click Commit. The Default Context’s new name will be displayed in the Context Name column, as shown in the figure below.

The Default Context section of the Context Configuration screen
The Default Context with an edited name

Alternate Contexts

This section displays any configured Alternate Contexts for the system. These contexts are used to create multiple versions of assets within the system. By default, no Alternate Contexts will be displayed in this section, as shown in the figure below.

The Alternate Contexts section of the Context Configuration screen with no contexts
The Alternate Contexts section with no Alternate Contexts defined

Because there are no Alternate Contexts, the Default Context will always be used and multi-context versions of assets will not be available.

When Alternate Contexts have been created, they will be listed in this section, as shown in the figure below. For more information on creating Alternate Contexts, refer to the Create a new alternate context… section in this chapter.

The Alternate Contexts section of the Context Configuration screen with not valid contexts
A set of invalid Alternate Contexts

As these contexts do not have any defined Conditions, they are not Valid and will not be used within Context Detection. When a context contains a set of achievable Conditions, it will be deemed Valid, as shown in the figure below. To add and edit the Conditions of an Alternate Context, click on the edit icon icon. For more information, refer to the Edit Selected Context (Alternate Contexts) section of this chapter.

The Alternate Contexts section of the Context Configuration screen with valid contexts
A set of valid Alternate Contexts

Alternate Contexts are evaluated in descending order for Context Detection. This means, that in the figure above, the system will first attempt to match the conditions of the Alternate 1 context. If the conditions are matched, this context will be displayed; If not, the system will then attempt to match the conditions of the Alternate 2 context. To change the order of this evaluation, click on either the Up arrow icon up or Down arrow icon down arrows to move the contexts. To delete a context, click on the Delete Icon icon.

If no Alternate Contexts’ conditions can be matched, the Base Context of the asset will be displayed. By default, this is the system’s Default Context. For more information of setting the Base Context of an asset, refer to the Backend Operations chapter in this manual.

Create a new alternate context…

This section allows you to create Alternate Contexts for the system. To create a new context, select the Create a new alternate context tick-box and enter a name for the context. Click Commit. This context will now appear in the Alternate Contexts section, as shown in the figure below.

Creating a new alternate context on the Context Configuration screen
The Create a new alternate context... section and (below) the new context in the Alternate Contexts section 

You can then add conditions to the context in the Edit Selected Context section. For more information, refer to the Edit Selected Context (Alternate Contexts) section below.

Edit Selected Context (Alternate Contexts)

When first creating or editing an Alternate Context, the Edit Selected Context section will appear, allowing you to edit the Conditionsfor Context Detection settings of the selected context.

The Edit Selected Context section of the Context Configuration screen is shown in the figure below.

The Edit Selected Context section for an Alternate Context
The Edit Selected Context section for an Alternate Context

The following fields are available when editing an Alternate Context:

  • Name: by default, the name that was entered when the context was first created will appear in this field. You can change the Name by entering a new Name for the Alternate Context.
  • Minimum Matches: select how many Conditions the context must match before being selected. The following options are available:
    • At least: enter the minimum number of Conditions that must be matched for the context to be selected.
    • All: all of the set Conditions must be matched for the context to be selected.
    By default, this field is set to All.
  • Conditions: configure the Condition Type and Condition Details for any Conditions set for this context. By default, no Conditions will be displayed in this field, as shown in the figure above. Conditions must first be added using the New Condition? field before they will appear in this field.
  • New Condition? : select the Add a new condition tick-box and select a condition type to add a new Condition to the context. The following condition types are available:
    • Accept-Language request header
    • Other request header
    • URL of request
    • Destination post
    • Secure/insecure connection
    • GET variable
    • POST variable

For more information on the functions and configuration of these Conditions, refer to the Conditions for Context Detection chapter in this manual.

PreviousNext