Setting up tag hierarchies

In Surpass, you can attach metadata (known as ‘tags’) to items and then use these tags to organise items when authoring content, creating tests, and viewing results. Tags are made up of ‘tag groups’ and ‘tag values’. Tag groups are categorised containers for tag values.

Tag groups can be further categorised into tag hierarchies. Item authors can select and assign tag values to items from a pre-defined tag hierarchy. You can create tag hierarchies in the Subjects screen of Setup. Tag hierarchies are subject-specific.

This article explains how to set up tag hierarchies in the Subjects screen of Setup, including how to edit a tag hierarchy.

In this article

1. Go to the Subjects screen in Setup

To view the Subjects screen in Setup, go to Setup > Subjects.

TIP: For more information about the Subjects screen, read About the Subjects screen in Setup.

2. Choose a subject in the Subjects list

Choose a subject in the Subjects list.

3. Create your tag hierarchy

The Tag Hierarchies panel displays the chosen subject’s existing tag hierarchies. Up to three tag hierarchies can be created per subject.

Select Create Tag Hierarchy to create a new tag hierarchy.

Enter a name for the tag hierarchy in the Create Tag Hierarchy screen.

Publishing tags to Test Creation

In the Manage Tag Hierarchy dialog, accessed via Tag Hierarchy Settings , you can determine whether tags are published from Item Authoring to Test Creation. If tags are published, items can be filtered by tags and dynamic rules created from tags when creating test forms in Test Creation.

NOTE: This setting is enabled by default. Tag hierarchies must be published before the Publish to Test Creation setting can be disabled.

Using shortcodes

In the Manage Tag Hierarchy dialog, accessed via Tag Hierarchy Settings , you can enable the use of shortcodes. Shortcodes are prefixed to tag values, for example to abbreviate long-form tag value names.

When a tag value in a tag hierarchy is assigned to an item, the shortcodes of the tag and all its parent tags are combined into a new combined shortcode tag value that is then also assigned to the item.

EXAMPLE: If a tag value with the shortcode ‘C1’ is assigned to an item, and that tag value’s parent tag value has a shortcode of ‘B2’, the item is also tagged with the combined shortcode tag value ‘B2.C1’. The new combined shortcode tag value is created in the tag hierarchy’s combined shortcode tag group.

4. Create your tag groups

Select Add Tag Group to create a new tag group on the first level your tag hierarchy.

Enter a name for your tag group.

Add more tag groups to your tag hierarchy to create more levels in the hierarchy.

NOTE: Tag hierarchies can contain up to 10 levels/tag groups.

Editing tag groups

Created tag groups can be edited. Expand the following section for more information.

Deleting tag groups

Created tag groups can be deleted. Expand the following section for more information.

5. Add your tag values

Select Add Tag Value to create a new tag value for the tag group in the first level of your tag hierarchy.

If shortcodes have been enabled (read Using shortcodes above), enter a shortcode for the tag value.

Enter a name for the tag value in the Create Tag Value dialog.

Select the special character icon (‘Ω‘) to insert a special character. For more information on special characters, read About special characters.

To add tag values to the next level of your tag hierarchy, select the Add button to create a child of the corresponding tag value. The new child tag value is created in the tag group corresponding to the next level of the tag hierarchy.

Enter a name for the tag value in the Create Tag Value dialog. The new tag value’s parent tag value is also detailed in the dialog.

Repeat steps 4 and 5 to continue building your tag hierarchy as required.

Editing tag values

Created tag values can be edited. Expand the following section for more information.

Deleting tag values

Created tag values can be deleted. Expand the following section for more information.

5. Publish your tag hierarchy

Tag hierarchies must be published before they can be used by item authors in Item Authoring.

To publish a tag hierarchy, select Published from the Status drop-down menu.

6. Save your tag hierarchy

Select Save to create your tag hierarchy.

The new tag hierarchy appears in the chosen subject’s Tag Hierarchies panel.

Editing tag hierarchies

Created tag hierarchies can be edited. Expand the following section for more information.

Deleting tag hierarchies

Created tag hierarchies can be deleted. Expand the following section for more information.

IMPORTANT: Deleting a tag hierarchy deletes all of its associated tag groups and tag values.

Further reading

NOTE: This form is to provide feedback to help improve the Surpass Help documentation only. If you need live support, contact support@surpass.com.