Managing Tags
Managing Tags
In OpenL Tablets, tags can be assigned to a project. A tag type is a category holding tag values of the same group. An example is the Product tag that includes tags Auto, Life, and Home.
Note: Project tags are stored inside the project, in the tags.properties file, so tag changes are version-controlled and visible in the project’s history, as described in Tagging a Project.
In the navigation menu, click Tags to open the tag management page.
The page consists of two sections:
- Tag Types and Values — where tag types and their values are created and managed.
- Tags from a Project Name — where templates for deriving tag values from project names are defined.
Tag types and values are saved automatically. No additional save action is required.
Every change made on this page is recorded in the audit log: who changed a tag type, a tag or the templates, when, and what exactly changed, as described in Reviewing the Audit Log.
To create project tags, proceed as follows:
-
To add a tag type, in the input field at the bottom of the tag table, enter the tag type name and press Enter or click outside the field.

Selecting tags
-
To edit a tag type name, click the tag type name cell in the table, modify the value, and press Enter or click outside the field.
-
To configure a tag type, use the following checkboxes in the tag type row:
Column Description Extensible When selected, any user can create new tag values for this tag type. When cleared, only an administrator can add values, and a project carrying another value gets a warning. Required When selected, a project must have a value for this tag type, and a project without one gets a warning. When cleared, the tag type is optional. -
To delete a tag type, click the Delete icon in the Actions column of the tag type row and confirm the deletion.
-
To change the order of tag types, drag a tag type row by the handle at the start of the row and drop it at the new place. To move it with the keyboard, focus the handle, press Space, move the row with the arrow keys, and press Space again.
The tags of a project are shown in this order on its Overview tab and in the project list, and the Filters view and Group projects list the tag types in it too. The tag types take their colors by their place in this order, so moving a tag type changes the colors. Tag types that were never moved, a new one among them, follow the arranged ones in alphabetical order.
-
To add a tag value, in the Tags column of the tag type row, click + Add Tag, enter the tag name, and press Enter or click outside the field.

Adding tag values
-
To edit a tag value, double-click the tag, modify the value, and press Enter or click outside the field.
-
To delete a tag value, click the delete icon next to the tag name.
All created tag types and values are saved automatically. These values are now offered as suggestions when tagging a project, and the tags of a project are checked against them, as described in Tagging a Project.
Projects can carry tags that are not defined here, for instance, when a tag is typed on the Overview tab of a project or comes with a project from Git. The tag table shows only what is defined. The tags found in projects are listed under Tag types found in projects, below the table, so they can be reviewed in one place:
- Each row names a tag type and the values the projects carry for it that are not defined, each with a dashed border and the number of projects that carry it.
- A tag type that is not defined is shown as a chip in the warning color, like its values, and is listed with all its values. A defined tag type is named in plain text and listed with the values it does not have.
- Click a value to open the projects that carry it. The Projects list opens filtered by that tag, so a tag added by mistake can be removed from those projects.
- Click + on a value to add it to its tag type, creating the tag type when it is not defined.
- Click + on a tag type that is not defined to add it with all its values. A tag type added this way is optional and not extensible, and it follows the arranged tag types in alphabetical order. A defined tag type has no +: only its values can be added.

Tags found in projects
Tag values can be derived from project names. Proceed as follows:
-
To define project name templates, in the Tags from a Project Name section, enter the templates in the Project Name Templates text area.
Templates use the following syntax:
- Tag type names are wrapped with the
%symbol, for example,%Domain%. ?stands for any single symbol.*stands for any text of any length.- Each template must be defined on its own line. Templates are evaluated in order: the first template has the highest priority, the last has the lowest.
Example: For the
%Domain%-%LOB%-*template, the project namedPolicy-L&A-rulesreceives the tag Policy for the Domain tag type and L&A for LOB. - Tag type names are wrapped with the
-
To save project name templates, click Save Templates.
-
To assign tags according to these project name templates to the projects that do not have tags defined yet, click Fill Tags for Project.
The Projects without tags window appears. It contains all projects that have None selected for one or multiple tag types, or do not have tags defined at all, and which name matches the project name template.
Both opened and closed projects can be selected. A project is grayed out and cannot be selected when the current user cannot change it now. Hover over the project to see the reason and what to do:
- another user is editing the project. Fill it again after they save or close it;
- the user still holds a lock on the project from an earlier change, for example, one that failed. Open the project and close it to release the lock;
- the branch of the project is protected, so its changes go through a merge. Fill the project in another branch, then merge that branch;
- the user does not have permission to change the project. Ask for write access to it;
- the user opened an older revision of the project and has not changed it yet. Open the latest revision or close the project to fill its tags;
- the project is closed, and its repository keeps projects as archives, such as a database or AWS S3 repository. Open such a project to fill its tags.

Applying tags for projects matching project name templates.
In this window, tags are marked with colors as follows:
- White — A tag exists in the list of tags and will be assigned to a project.
- Green — A tag does not exist in the list of tags, but the tag type is defined as extensible, so the tag will be created and assigned to the project.
- Red — A tag does not exist in the list of tags, and the tag type is not defined as extensible or the derived value is not a valid tag name, for example, it ends with a dot, so the tag will not be created, neither it will be assigned to the project. The tag for a project will remain None.
- Grey — A tag is already assigned to the project. The project still appears on the list because it has other tag types with the None values. If the tag is already assigned, but a different tag value is derived from the project name according to the template, the existing value will be replaced with the derived value. The replacement is identified with the arrow. The derived value can be created if the tag type is extensible. In this case, a new value will be marked green. If the derived tag value does not exist and the tag type is not extensible, no replacement happens, and the old value appears in grey with no arrow.
This logic is explained in the tooltips for each tag color type.
To fill the selected projects, click Fill Tags. The window then shows what the fill did to each of them.

Result of filling tags for the selected projects.
In this window, each project shows one of the following results:
- Tag values — the project got these values. A value marked red is one the project could not get: it is not in the list of tags, and its tag type is not extensible or the value is not a valid tag name.
- Left alone — the project was not changed. The message says why and what to do:
- the project cannot be changed now, for one of the reasons that gray out a project in the previous window. This happens when the project changed after the window opened, for example, another user started editing it;
- none of the missing values can be assigned. They are marked red: add them to their tag types, or make the tag types extensible. A value that is not a valid tag name needs another project name or template;
- the tags could not be written, because the repository refused the change. The OpenL Studio log names the reason.
Once the reason is fixed, fill the project again.
Click Close to close the window. New values of extensible tag types appear in the Tag Types and Values section.
How the filled tags are saved depends on the project status:
- Closed project — the tags are committed to the design repository at once, in a separate commit for each project, made on behalf of the current user. The project stays closed, and the commit appears in the project’s version history.
- Opened project — the tags are written to the project in the user workspace, and the project status changes to In Editing, unless it is already in this status. The project must be saved (committed) before the changes become visible to other users and appear in the project’s version history.