## Using the Projects Page

This chapter describes tasks that can be performed on the **Projects** page and on the page of a project. For general information on these pages, see [Introducing the Projects Page](getting-started.md#introducing-the-projects-page).

The following topics are included in this chapter:

-   [Browsing Projects](#browsing-projects)
-   [Filtering and Grouping the Project Tree](#filtering-and-grouping-the-project-tree)
-   [Creating Projects in Design Repository](#creating-projects-in-design-repository)
-   [Opening a Project](#opening-a-project)
-   [Closing a Project](#closing-a-project)
-   [Saving a Project](#saving-a-project)
-   [Viewing the Project Overview](#viewing-the-project-overview)
-   [Tagging a Project](#tagging-a-project)
-   [Managing Project Access](#managing-project-access)
-   [Modifying Project Contents](#modifying-project-contents)
-   [Copying a Project](#copying-a-project)
-   [Removing a Project](#removing-a-project)
-   [Deploying a Project](#deploying-a-project)
-   [Comparing Project Revisions](#comparing-project-revisions)
-   [Exporting a Project or a File](#exporting-a-project-or-a-file)
-   [Unlocking a Project](#unlocking-a-project)
-   [Browsing Deployments](#browsing-deployments)
-   [User Data for Git Commits](#user-data-for-git-commits)

### Browsing Projects

The **Projects** page lists the projects of the user's workspace and of Design repository. The **Projects** and **Deployments** links in the top bar switch between this page and the page of deployments described in [Browsing Deployments](#browsing-deployments). While no branch is picked in the **Branch** filter, the page keeps to the default branch of each repository, as described in [Filtering and Grouping the Project Tree](#filtering-and-grouping-the-project-tree).

![The Projects page with its filters and the list of projects](images/projects-page.png "The Projects page")

*The Projects page*

The page consists of the following parts:

-   **Filters** and **Tree** views on the left narrow the list down and group it, as described in [Filtering and Grouping the Project Tree](#filtering-and-grouping-the-project-tree).
-   The search field of the top bar, named **Projects** on this page, finds projects by name, author, branch or tag. For more information, see [Searching in OpenL Studio](getting-started.md#searching-in-openl-studio).
-   **New Project** in the top bar, next to the **Projects** and **Deployments** links, creates a project as described in [Creating Projects in Design Repository](#creating-projects-in-design-repository).
-   The list shows the projects of all repositories in one alphabetical list. A row shows the project name with its tags, the branch it is on, who modified it and when, and the actions available for it. A click on the **Project**, **Branch** or **Modified** column header sorts the list by that column, and a second click reverses the order.
-   The bar under the list counts the projects and switches the pages of a long list. When projects have compilation errors or warnings, or are being compiled, it shows how many. While a repository is still being indexed, **Indexing 1 repository** appears there too, and clicking it names the repository.

A click on a project opens its page, described in [Working with the Project Page](#working-with-the-project-page).

The row of a project offers the everyday actions as icons and keeps the others behind the **Actions** menu **⋮**.

-   The **Copy** icon copies the project, as described in [Copying a Project](#copying-a-project).
-   The **Delete Branch** icon deletes the branch the project is on, as described in [Working with Project Branches](project-branches.md#working-with-branches). It is shown only when the branch can be deleted.
-   The folder icon opens a closed project, and the green open folder icon closes an open one.
-   The **Actions** menu lists **Save**, **Open Revision**, **Sync**, **Deploy**, **Compare**, **Export** and **Delete**, as far as they are available for the project.
-   The branch next to the name switches the project to another branch, as described in [Working with Project Branches](project-branches.md#working-with-branches).

Only the actions that the user is allowed to perform on the project in its current state are offered.

The status of a project is shown on the list and on the project page:

| Status               | Description                                                                                                                                                                                                                                                                      |
|----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Closed**           | The project is available only in Design repository. A closed folder icon stands for it. It must be opened to be viewed in the editor or modified.                                                                                                                              |
| **No Changes**       | The project is open and copied to the user's workspace. A green open folder icon stands for it. It can be modified and has no unsaved changes.                                                                                                                               |
| **In Editing**       | The project is open and modified by the current user, which a pencil icon before the name marks. Other users cannot edit it. The project must be saved to store the changes.                                                                                                     |
| **Viewing Revision** | The project is open on an earlier revision, not on the latest one, which a history icon before the name marks. It can be browsed and, after a warning, edited, as described in [Opening a Project](#opening-a-project).                                                            |
| **Local**            | The project exists only in the user's workspace but not in Design repository. Other users do not see it. The user can delete it, or export it and import the archive into Design repository as described in [Saving a Project](#saving-a-project). |

A lock icon after the project name means that another user edits the project. The project cannot be edited by anyone else until that user saves or closes it or the lock is released, as described in [Unlocking a Project](#unlocking-a-project).

#### Working with the Project Page

The page of a project shows everything about one project. Its title row carries the following:

-   The path **Projects / Design / master /**, where the repository and the branch the project is on follow the **Projects** link, and the closing slash leads to the project name below. The repository name opens the **Projects** list filtered by the repository. The branch is a switcher, as described in [Working with Project Branches](project-branches.md#working-with-branches).
-   The project name, preceded by the status icon when the project is in editing or opened on an earlier revision.
-   The actions of the project, listed in the table below.

![The page of an open project with its actions and tabs](images/project-overview.png "The project page")

*The page of an open project*

The following table describes the actions of the project page in their display order. A user sees only the actions that are available in the current state of the project.

| Action            | Description                                                                                                        | Available when                                                                                 |
|-------------------|--------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|
| **Save**          | Saves the changes as a new revision. See [Saving a Project](#saving-a-project).                                    | The project has unsaved changes.                                                               |
| **Open**          | Opens the project. For versioned repositories, its menu offers **Open Revision**. See [Opening a Project](#opening-a-project). | The project is closed. |
| **Open Revision** | Opens an earlier revision of the project. See [Opening a Project](#opening-a-project).                             | The repository stores project revisions; the project is open, or from the **Open** menu while it is closed. |
| **Close**         | Closes the project. See [Closing a Project](#closing-a-project).                                                   | The project is open.                                                                           |
| **Add**           | Adds a folder or a file to the folder shown, beside the file shown, or at the root of the project while a tab is shown. See [Modifying Project Contents](#modifying-project-contents). | The project is open and not locked by another user. |
| **Sync**          | Merges the project with another branch. See [Working with Project Branches](project-branches.md#working-with-branches). | The repository supports branches and the project has no unsaved changes.                       |
| **Copy**          | Copies the project into a new project or a new branch. See [Copying a Project](#copying-a-project).                | The user can create projects or branch this one.                                               |
| **Delete Branch** | Deletes the branch the project is on. See [Working with Project Branches](project-branches.md#working-with-branches). | The branch is not the default one and is not protected.                                        |
| **Delete**        | Deletes the project. See [Removing a Project](#removing-a-project).                                                | The project is not locked by another user.                                                     |
| **Deploy**        | Deploys the project. See [Deploying a Project](#deploying-a-project).                                              | The project has no unsaved changes and is not **Local**.                                       |
| **Compare**       | Compares the project with its revisions. See [Comparing Project Revisions](#comparing-project-revisions).          | The project is not **Local**.                                                                  |
| **Export**        | Downloads the project. See [Exporting a Project or a File](#exporting-a-project-or-a-file).                        | The user can read the project.                                                                 |
| **Unlock**        | Releases the lock of another user. See [Unlocking a Project](#unlocking-a-project).                                | Another user locks the project and the current user has administrative rights on it.          |

When the window is too narrow for all actions, the last ones move into the **Actions** menu **⋮**.

The tabs below the title row show the following:

-   **Overview** shows the project configuration and properties. See [Viewing the Project Overview](#viewing-the-project-overview).
-   **Revisions** lists the revisions of a project in a versioned repository. It is unavailable for file repositories,
    which retain only the current project state. See [Opening a Project](#opening-a-project),
    [Viewing the Changes of a Revision](#viewing-the-changes-of-a-revision) and
    [Comparing Two Revisions](#comparing-two-revisions).
-   **Deploy Configuration** shows the `rules-deploy.xml` settings and the deployments of the project. See [Deploying a Project](#deploying-a-project).
-   **Management** assigns roles on the project. See [Managing Project Access](#managing-project-access).

A file or a folder of the project selected in the tree on the left is shown in place of the content of a tab, and
none of the tabs is selected. Selecting a tab leaves the file. See [Modifying Project Contents](#modifying-project-contents).

The panel on the left of the page is the panel of the **Projects** page, with its **Filters** and **Tree** views described in [Filtering and Grouping the Project Tree](#filtering-and-grouping-the-project-tree). It stays as it is while the user moves between the list and the projects: what is expanded in the tree, and what the tree has read, are kept. Opening a project — from the list, the tree or a link — switches the panel to the **Tree** view, unfolds the groups holding the project and scrolls the tree to its row; the user may switch back to **Filters** until the next project is opened. The **Hide the panel** icon in its header folds the panel away. The tree keeps itself up to date without a reload: a project saved, opened, closed or switched to another branch, here or in another tab, shows at once, and so do the files of a project in the workspace that another tab or a client, such as an AI agent, writes. A change another user makes in the Design repository, such as a save or a merge, or a push to it from outside OpenL Studio, shows as well. If the projects cannot be read, the tree says why and offers **Retry**; so does an expanded project whose files cannot be read, and its **Retry** reads the files of that project again.

### Filtering and Grouping the Project Tree

The panel on the left of the **Projects** page has two views, switched at its top: **Filters** and **Tree**. Both work
on the projects of the list beside them.

While no branch is picked in the **Branch** filter, the list and the tree show the following projects:

-   projects that the default branch of their repository contains, on whichever branch the user switched them to;
-   projects open in the user's workspace, even when they exist only outside the default branch;
-   projects of repositories without branches, and local projects.

A project that exists only in another branch appears once its branch is picked in the **Branch** filter. Picking one or
more branches shows the projects on these branches instead.

#### Filtering Projects

The **Filters** view lists the filter values in groups: **Repository**, **Branch**, one group per tag type, and
**Status**. Each value shows how many projects it covers. The tag groups come in the order an administrator arranged
the tag types in, each marked with the tag icon in the color of its type.

-   Several values of one group show the projects that match any of them.
-   The small grey check box before the title of a group selects all values of the group at once. When all of them
    are selected, it clears them. A dash in the check box shows that only some values of the group are selected.
-   Values of different groups show the projects that match all of them.
-   The **Branch** group lists every branch with its count, including a branch whose projects the default view hides.
    While no branch is picked, the counts of the other groups cover only the projects the default view shows.

![The Filters view with a tag value picked, a dash in the check box of its group, and Clear filters in its header](images/projects-filters-view.png "Filtering projects in the Filters view")

To reorder the groups or hide some of them, click **Arrange the filters**, the gear icon in the header of the view.
While the filters are arranged, each group shows only its title:

-   To move a group, drag it by its title to another place. To move it with the keyboard, focus its title, press
    Space, move it with the arrow keys, and press Space again.
-   To hide a group, click **Hide this filter** next to its title. The hidden groups are listed below the others, and
    **Show this filter** returns a group to the view.
-   To finish, click **Done**. The groups list their values again, each folded or unfolded as before. The browser
    remembers the arrangement for the next visit.

![The Filters view being arranged: every group shows only its title, and the LOB group is hidden](images/projects-filters-arrange.png "Arranging the filters")

#### Browsing the Project Tree

The **Tree** view shows the projects that the **Filters** view selects, the same ones the list shows, as a tree. The
search field of the top bar narrows the tree and the list by the same text: a project is found by its name, author,
branch or tag. The tree also keeps a group whose name holds the text, with all its projects, and finds the files of
the projects expanded in it by their path, opening the folders that hold them.

-   Selecting a group, such as a repository or a tag value, sets its filters: the list shows the projects of the group,
    and the tree stays as it is. A pick made in the **Filters** view narrows both.
-   Selecting a project opens it and leaves its row folded. The arrow before the project expands it and lists its
    folders and files, with the size of every file.
-   Selecting a file shows it on the page of its project. A module is shown there too, with its **More actions** icon
    **⋮** and **Open in Editor**, which opens its tables in Rules Editor. Selecting a folder shows it on the page of
    its project and leaves it folded; the arrow before it expands it.
-   A link to a file or a folder of a project opens the tree on it: the project and the folders leading to it unfold,
    and the row is selected.
-   In a project being edited, a file added or modified and not saved yet has a dot on its icon and its name in green
    or orange, beside the Projects list and on a project page alike. A deleted file stays in the tree until the
    project is saved, struck through with a red dot, and opens nothing; so does a folder whose files are all deleted.
    A folder whose files are all added is marked as added, and any other folder holding a changed file has an orange
    dot. Pointing at a marked row tells what changed.
-   A name too long for the panel ends in an ellipsis, and pointing at it shows it in full. The size of a file stays at
    the right end of its row. To read more of the names, drag the right edge of the panel to widen it.
-   On a project page, the panel keeps both views. The tree applies the filters last used on the Projects list and
    always shows the project being viewed, even when those filters leave it out; picking a filter or a group there
    shows the list again. To search the tree,
    click the name at the start of the search field of the top bar and select **Projects**; on a tab with nothing of
    its own to search, the field searches the tree already.

To group projects by repository, branch or tag types, click **Group projects** ![](images/group-projects-icon.png) and
select up to three levels. The levels offer the tag types of the projects the tree shows: a tag type that only a
project of a branch the tree does not show carries is not offered. Tag values used for grouping are taken from the
most recent version of a project, so after
changing the tags of an opened project, save the project for the tree to show the change. For more information on tag
definition for a project, see [Managing Tags](administration/06-tags.md#managing-tags).

![The Group Projects dialog grouping by repository and then by two tag types](images/group-projects-dialog.png "Grouping projects in the tree")

#### Clearing Filters

While any filter is picked, the **Filters** and **Tree** views show **Clear filters** at the start of their header,
before its icons. In the **Tree** view, the button also tells that the list is filtered.

-   **Clear filters** removes the status, repository, branch and tag picks and forgets the group selected in the tree,
    returning both views to the default-branch view. The search field keeps its text.
-   When the filters hide every project, the list offers **Clear all filters**, which clears the search as well.

![The Tree view narrowed to the projects the Filters view picks, with Clear filters in its header](images/projects-tree-filtered.png "Clearing the filters of the project tree")

### Creating Projects in Design Repository

OpenL Studio allows users to create new rule projects in the Design repository. To start, click **New Project** on the **Projects** page. The **Create project** dialog offers the following ways:

![The Create project dialog with the ways to create a project](images/create-project-wizard.png "Choosing how to create a project")

*Choosing how to create a project*

| Way                                        | Section                                                                       |
|--------------------------------------------|-------------------------------------------------------------------------------|
| Create a rule project from a template      | [Creating a Project from Template](#creating-a-project-from-template)         |
| Create a rule project from a zip archive   | [Creating a Project from ZIP Archive](#creating-a-project-from-zip-archive)   |
| Create a rule project from Excel files     | [Creating a Project from Excel Files](#creating-a-project-from-excel-files)   |
| Create a rule project from an OpenAPI file | [Creating a Project from OpenAPI file](#creating-a-project-from-openapi-file) |
| Copy an existing rule project              | [Copying a Project](#copying-a-project)                                       |

After a way is chosen, the dialog shows the source of the project and the settings that are common to all ways. **Back** returns to the choice of the way.

-   **Project Name** — the name by which the project is presented in Design repository. The name of the template, the archive or the source project is suggested. Spaces at the beginning and at the end of the name are dropped. The name cannot contain the characters `\ / : ; < > ? * % ' [ ] | "` or end with a dot; such a name is refused with a message that says so. The same applies to the new name of a project copy.
-   **Repository** — the Design repository that stores the project. Only the repositories where the user may create
    projects are offered. The dialog opens on the first of them and keeps the one picked until it is closed; while the
    picked repository is not offered, the first one is shown.
-   **Branch** — the branch of a Git repository, described below. The field is shown for repositories that support branches.
-   **Path** — the folder of the repository where the project is stored. Leave it empty to store the project in the root of the repository, enter a path such as `folder/subfolder`, or click **Browse folders** **⋮** to select an existing folder. The field is shown for repositories that keep projects in folders.
-   **Comment** — the comment of the commit that creates the project. A standard comment is suggested and can be
    edited: **Project Bank Rating is created.**, or **Copied from: Bank Rating.** for a copy. The field is hidden for
    repositories that do not store change comments, such as file repositories.

After the project is created, its page opens and the project has the **No Changes** status, which means that it is
open and can be modified. When the project is not created, the dialog stays open with the message and with every field
as it was filled in, so **Create** can be clicked again.

For a Git Design repository that supports branches, every creation method displays one **Branch** field after a repository is selected. Select an existing branch from the suggestions, or type a valid new branch name in the same field. When the name does not exist, OpenL Studio creates the branch from the repository default branch and then creates the project there. Its **Branch** value is the branch where it was created. A project created in another branch than the default one is listed once that branch is picked in the **Branch** filter, or while it is open in the workspace; see [Filtering and Grouping the Project Tree](#filtering-and-grouping-the-project-tree). In an empty repository, the first project creates the selected valid branch, including a non-default branch. Names that violate Git naming rules or the repository branch-name pattern are shown as errors below the field and are not submitted.

Projects with the same name can be created in different repositories. These projects cannot be in the same status. If the first project is in the **No Changes** status, the second one is assigned the **Closed** status. After closing the first project, the second can be opened.

#### Creating a Project from Template

This section describes how to create a project using a template and includes the following topics:

-   [Creating a Project Using a Default Repository Template](#creating-a-project-using-a-default-repository-template)
-   [Creating a Project Using a Custom Template](#creating-a-project-using-a-custom-template)

##### Creating a Project Using a Default Repository Template

This is the easiest way to create a rule project in the Design repository that must be preferably used for demonstration or introductory purposes.

The templates are organized into the following categories:

| Category      | Description                                                                                                                                                                                                                                        |
|---------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Templates** | Include the following: <br/>**- Sample Project** is a very simple project consisting of one rule table and hence, one Excel file. <br/>**- Empty Project** allows creating a project with an empty Excel file. <br/>Open the project and create tables as needed. |
| **Examples**  | Provide several simple projects demonstrating how OpenL Tablets can be used in various business domains.                                                                                                                                           |
| **Tutorials** | Represents projects designed to familiarize users with OpenL Tablets step-by-step, from simple features and concepts to more complex ones.                                                                                                         |

Every built-in template uses the standard project layout. It contains `rules.xml` in the project root, stores rule
workbooks in `rules/`, and stores test workbooks, when present, in `tests/`.

Projects represented as Examples and Tutorials can be used not only to learn how they are organized and work, but also to create user’s own projects from them.

To create a new project from template, proceed as follows:

1.  On the **Projects** page, click **New Project** and then click **From template**.

    The dialog lists the template categories with the number of templates in each of them. A category with custom templates is marked **custom**.

1.  Click the category, and then click the required template.

    A check mark shows the selected template, and its name appears in the **Project Name** field. **Back** above the templates returns to the categories. The following example demonstrates creating a project based on the example.

    ![Configuring a template project and its target branch](images/create-project-from-template-dialog.png "Creating a project from a template")

    *Creating a simple project from a template*

1.  If necessary, modify the project name.
1.  Select the repository, and, for a branch-capable repository, select an existing branch or enter a new branch name in the **Branch** field.

    For the **Path** and **Comment** fields, see [Creating Projects in Design Repository](#creating-projects-in-design-repository).

1.  Click **Create**.

    A new project is created in Design repository and opens. Initially, project structure corresponds to the selected project template but can be constructed manually.

1.  To construct the project structure, add folders and upload files as described in [Modifying Project Contents](#modifying-project-contents).

##### Creating a Project Using a Custom Template

A custom project template can be created and then used during new projects definition. To create a new custom project template, proceed as follows:

1.  In the OpenL Studio home directory `\<OPENL_HOME>,` create the following directory:

    ```
    \<OPENL_HOME>\project-templates
    ```

1.  Create a subfolder with a template category name.

    An example is `\<OPENL_HOME>\project-templates\My Custom Templates`.

1.  For project templates that store files with project rules, create subfolders.

    For example, `\<OPENL_HOME>\project-templates\My Custom Templates\MyRule1\rating.xlsx` will be presented as the **MyRule1** template project in the `My Custom Templates` category containing the `rating.xlsx` file.

    ![The MyRule1 custom template in the My Custom Templates category](images/create-custom-project-template.png)

    *A custom project template in the Create project dialog*

#### Creating a Project from Excel Files

A rule project in the Design repository can be created by loading one or more Excel files that contain OpenL rule tables or entire rule projects.

Proceed as follows:

1.  On the **Projects** page, click **New Project** and then click **From Excel files**.
2.  Click or drag the necessary Excel files to the upload area. The `.xlsx` and `.xls` formats are accepted. A file name follows the rules of a project name: it cannot contain the characters `\ / : ; < > ? * % ' [ ] | "`, start with a space, or end with a space or a dot. A project is not created from such a file, and the message names the file.
3.  If required, add more files for the project.

    All files are listed under the upload area.

    ![Configuring an Excel project and its target branch](images/create-project-from-excel-files.png "Creating a project from Excel files")

    *Creating a project from Excel files*

    A file can be removed from the list by clicking the delete icon next to its name.

1.  In the **Project Name** field, enter the name by which the project must be represented in Design repository.
2.  Select a repository.

    For more information on available repositories, see [Creating Projects in Design Repository](#creating-projects-in-design-repository).

1.  For a branch-capable repository, select an existing branch or enter a new branch name in the **Branch** field.
1.  Click **Create** to complete.

OpenL Studio creates `rules.xml` in the project root and stores all uploaded workbooks in the `rules/` folder.

#### Creating a Project from OpenAPI file

A rule project in the Design repository can be created by uploading the OpenAPI file.

The OpenAPI Specification (OAS) defines a standard, language-agnostic interface to RESTful APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection.

The algorithm for generating a project from an OpenAPI file is described in the [Appendix B: OpenAPI Project Generation Algorithm](appendices/openapi-generation.md#appendix-b-openapi-project-generation-algorithm).

The OpenAPI file must have a valid structure and a JSON, YAML(YML) extension.

To create a project from the OpenAPI file, proceed as follows:

1.  On the **Projects** page, click **New Project** and then click **From OpenAPI**.
2.  Click or drag the required OpenAPI file to the upload area.
3.  To remove the uploaded file, click the delete icon next to its name.

    ![Configuring an OpenAPI project and its target branch](images/create-project-from-openapi-dialog.png "Creating a project from an OpenAPI file")

    *Creating a project from an OpenAPI file*

1.  If necessary, modify the names and the file locations of the generated modules: **Module Name for Data Types**, **Path for Module with Data Types**, **Module Name for Rules** and **Path for Module with Rules**.
2.  In the **Project Name** field, enter the name by which the project must be presented in the Design repository.
3.  Select a repository.

    For more information on available repositories, see [Creating Projects in Design Repository](#creating-projects-in-design-repository).

1.  For a branch-capable repository, select an existing branch or enter a new branch name in the **Branch** field.
1.  Click **Create**.

With the default file locations, OpenL Studio stores the generated Models and Algorithms workbooks in the `rules/`
folder. The generated `rules.xml` relies on the standard module layout and omits redundant project and module
declarations. Nonstandard module names or file locations are declared explicitly.

The uploaded OpenAPI file is stored in the project root. Its name is normalized to `openapi.json` for a JSON file or
`openapi.yaml` for a YAML or YML file, regardless of the uploaded file name. The generated `rules.xml` does not contain
an `openapi` block. The normalized file is discovered automatically in the default reconciliation mode, so it validates
the project without continuing to regenerate the workbooks and overwrite subsequent edits.

#### Creating a Project from ZIP Archive

OpenL Studio provides a control for loading rule projects archived in a ZIP file into Design repository. The procedure resembles creating a project from Excel files described above although there are a few differences.

ZIP is the only supported archive format — `.rar` or `.7z` archives cannot be used. A project **folder** is accepted as well, because OpenL Studio packs it into a `zip` archive in the browser first and validates it exactly like an uploaded one — the folder must be a project, holding a `rules.xml` or an Excel file at its root.

The archive must also arrive in full. OpenL Studio reads the directory the archive keeps at its end, so an upload that was cut short is rejected instead of becoming a project with part of its content, and checks the files the archive carries against the checksums recorded for them. An archive that unpacks to more than 2 GB keeps the first check and skips the checksums, so that verifying it cannot itself be turned into an attack.

1.  On the **Projects** page, click **New Project** and then click **From archive**.
1.  Choose **Archive** or **Folder**, click or drag the necessary zip archive or project folder to the upload area.

    ![Configuring an archive project and its target branch](images/create-project-from-zip-dialog.png "Creating a project from a ZIP file")

    *Creating a project from ZIP file*

    **Project Name** text box is automatically populated with the project name defined in `rules.xml,` if the uploaded ZIP file contains `rules.xml,` or with the file name.

    An archive that is not a project, because it has neither `rules.xml` nor an Excel file in its root, is refused with a message below the upload area.

1.  If necessary, modify the project name.

    It will be updated in `rules.xml` accordingly.

1.  Select a repository.

    For more information on available repositories, see [Creating Projects in Design Repository](#creating-projects-in-design-repository).

1.  For a branch-capable repository, select an existing branch or enter a new branch name in the **Branch** field.
1.  Click **Create** to complete.

    The new project opens in the workspace right away, the same as a project created from a template or Excel files.

If the archive has no `rules.xml` in its root, OpenL Studio creates one without moving any files in the archive. The
generated descriptor declares `*.xlsx` as the module pattern for workbooks in the project root. Root-level workbooks
in older Excel formats are declared as individual modules so they remain available.

If the archive contains the `tags.properties` file, the tags of the project are taken from it. For more information, see [Tagging a Project](#tagging-a-project).

### Opening a Project

An opened project is copied to user's workspace and becomes available for selection in the editor. The project is opened for viewing and can be modified if it is not locked by another user. When a user modifies a project, its status is set to **In Editing** and it becomes locked for other users who now can only view it.

To open a project, proceed as follows:

-   On the **Projects** page, click the folder icon in the row of the project. To open another revision, select **Open Revision** in the **Actions** menu of the row.
-   On the page of a closed project, click one of the following buttons as required:

    | Button            | Description                                                                                          |
    |-------------------|------------------------------------------------------------------------------------------------------|
    | **Open**          | Opens the latest revision of project.                                                                |
    | **Open Revision** | Available from the menu next to **Open**. Displays window where user can specify which project revision must be opened. |

When the project declares dependencies, **Open** first asks whether to open them together with it. Opening them
is the default, because the project needs them to compile.

When the workspace keeps a dependency of the same repository on another branch and the dependency has no unsaved
changes, the window also offers **Open them on branch** followed by the branch of the project, selected by default.
It switches such dependencies, and the ones they declare on that branch, over to the branch of the project before
opening them, so the project is compiled against the versions its own branch holds. A dependency with unsaved
changes is never switched: it keeps its branch and its changes, and so do the dependencies only it declares.

![The Open project dialog offering to open the dependencies on the branch of the project and warning about a dependency that is not found](images/open-project-dialog.png "Opening a project with dependencies")

*Opening a project with dependencies*

The same window warns about every dependency the project is compiled against off its branch, which can fail:

-   A dependency of the same repository that stays on another branch: one with unsaved changes, every such
    dependency when **Open them on branch** is cleared, and one that another dependency brings in when the move
    may not reach it, because it goes only through dependencies on the branch of the project. Save or discard its
    changes and switch its branch, as described in
    [Working with Project Branches](project-branches.md#working-with-branches).
-   A dependency marked **Not Found** stays unavailable until the branch of the project contains it, so switching
    branches does not help. Bring the project into that branch, or open the depending project on a branch that
    already has it.

A dependency of another repository is never switched or reported here: repositories keep no branches in step, so its
branch means nothing to this project.

Any project revision can be opened, with the project status set to **Viewing Revision**, as follows:

-   [Opening a Project Revision Using the Open Revision Button](#opening-a-project-revision-using-the-open-revision-button)
-   [Opening a Project Revision Using the Revisions Tab](#opening-a-project-revision-using-the-revisions-tab)

If the project has unsaved changes, opening a revision asks to confirm that they are lost.

#### Opening a Project Revision Using the Open Revision Button

To open a project revision using the **Open Revision** button, proceed as follows:

1.  On the page of the project, click **Open Revision**. For a closed project, click the arrow next to **Open** and select **Open Revision**.
2.  In the **Project Revision** field, select the required revision.

    A revision is listed by its number, followed by the author and the time it was created,
    so revisions made moments apart can be told apart.

    ![Opening a project revision using the Open Revision button](images/open-project-revision-dialog.png "Opening an earlier revision of a project")

    *Opening a project revision using the Open Revision button*

1.  Click **Open**.

#### Opening a Project Revision Using the Revisions Tab

The tab and the **More \> Revisions** editor action are available only when the repository stores revisions.

To open a project revision using the **Revisions** tab, proceed as follows:

1.  On the **Projects** page, select a project.
2.  Click the **Revisions** tab.

    A list of revisions appears, the newest first. A blue dot marks the revision that the project is open on.

    ![List of project revisions](images/project-revisions-list.png "The Revisions tab of a project")

    *List of project revisions*

1.  Navigate to the revision that needs to be opened and click the magnifier icon **Open Revision** at the end of its row.
    A click elsewhere on the revision lists the files it changed instead, as described in
    [Viewing the Changes of a Revision](#viewing-the-changes-of-a-revision).

If a project has the **Viewing Revision** status, the opened project revision becomes available for viewing and modifying, not the latest revision.

If the user tries to modify an old revision of the project in the editor, the system displays the warning message, “**Overwrite the newer revision?**” It explains that saving the old revision overwrites everything committed since. When the user confirms and modifies the old revision, it becomes the current version of the project, and its status changes to **In Editing**.

Revisions can also be accessed through the editor by selecting **More \> Revisions** for a project.

The **Show technical revisions** toggle and the search of revisions are available in OpenL Studio when the repository type is Git.<br/>
The **Show technical revisions** toggle, when on, allows users to see revisions that are not directly related to the current project (for example, changes related to code updates or changes in other projects).<br/>
A revision that changes only the files the system settings ignore or the protected files of the project, such as a version bump in the `pom.xml` of the project made by a CI pipeline, is a technical revision too. A revision that changes any other file of the project is not. The project stands on its latest revision that is not technical, so the history always marks it as current. For more information on ignored files, see [Managing System Settings](administration/02-system-settings.md), and on protected files, the `project.protected-files` property in [Configuration](../installation-guide/configuration.md#system).<br/>
On the **Revisions** tab, the search field of the top bar is named **Revisions** and helps users quickly locate specific revisions by searching through the comments, modified by, and revision IDs. The **Revisions** window of the editor has a search field of its own.

### Closing a Project

Closing a project deletes it from the user's workspace. No changes made to the project will be applied and stored. From that point, the project is not available for selection in the editor. Users can still browse closed projects on the **Projects** page.

To close a project, click the green open folder icon in the row of the project, or click **Close** on the page of the project.

If the project has unsaved changes, OpenL Studio asks to confirm that they are discarded.

![Confirming the discard of unsaved changes when closing a project](images/close-project-discard.png "Closing a modified project")

*Closing a modified project*

### Saving a Project

A modified project is saved and copied from the user's workspace to Design repository as a new revision.

**Save** is available only for a project linked to a Design repository. A project with the **Local** status has no
Design repository revision to update; export it as described in
[Exporting a Project or a File](#exporting-a-project-or-a-file) and import the archive as described in
[Creating a Project from ZIP Archive](#creating-a-project-from-zip-archive) instead. The imported project cannot be
opened while the **Local** project of the same name is still in the workspace, so delete the **Local** project after
the import.

To save a project, proceed as follows:

1.  On the page of the project, click **Save**. On the **Projects** page, **Save** is in the **Actions** menu of the row.

    The **Save project** window appears. Under the name of the project and the number of files to save, folded until
    you expand it, it lists the files the save commits, changed since the project was opened or last saved. Each file
    is named after the icon that marks it added, modified or deleted, followed by the folder it is in. A click on the
    row of a modified file, which ends with an arrow, opens the file as it was saved, headed **Saved revision**,
    against your changes, headed **Your changes**: a workbook is compared element by element in the window described in
    [Comparing Excel Files](rules-editor.md#comparing-excel-files), which opens on the comparison itself, with no
    files to pick, and a text file line by line. A file that is neither, such as a library, has nothing to be
    compared by, and the window says so.

    ![Save changes in a project](images/save-project-changes-dialog.png "Saving a project")

    *Save changes in a project*

1.  Enter a comment if the field is shown and needed, then click **Save**.

    For repositories that store change comments, a standard comment is suggested and can be edited:
    **Project Bank Rating is saved.** Saving a project opened on an older revision restores that revision, and the
    comment names its author and the moment it was saved, in UTC: **Restored from revision of John Smith on
    06/22/2026 09:02:42 PM.** If the repository requires comments of a certain form, a comment that does not match it
    is refused. File repositories do not store change comments,
    so the **Comment** field is hidden when saving their projects.

If another user saved the same files in the meantime, their changes are merged with yours where they do not
overlap. When both changed the same place, the **Resolve Conflicts** window appears, as described in
[Resolving Conflicts](project-branches.md#resolving-conflicts).

An editable project can be saved and closed directly from the editor as described in [Editing and Saving a Project](rules-editor.md#editing-and-saving-a-project).

### Projects Edited in Place

When OpenL Studio runs in single-user mode and its Design repository is a folder of the file system, as a tool
running OpenL Studio on a developer's machine sets it up, the projects of the folder are edited where they are:

-   Every project of the folder is open at once, with the **No Changes** status, and is not copied to the workspace.
    **Open**, **Close** and **Save** are not offered for it.
-   Every edit is written into the files of the project in the folder at once, and what other programs write there,
    such as Excel or an IDE, is part of the project as well.
-   OpenL Studio never writes over a file another program changed after OpenL Studio read it. Such a write is
    refused and the file stays as the other program left it; the module is read again, so repeat the edit on what
    the file holds now.
-   OpenL Studio writes a file whole. A program reading it meanwhile, such as Excel or an IDE, sees it as it was or
    as it is saved, never half written, and a save that fails leaves the file as it was. A file in a folder OpenL
    Studio cannot create files in is written over in place instead.
-   A file open in another program on Windows, such as a workbook in Excel, cannot be changed while the program
    holds it. An edit, an upload or a deletion of it is refused with a message naming the file; close the file there
    and repeat the change.
-   When another program changes a file of the module open in the editor, adds a workbook to the modules of the
    project or changes `rules.xml`, the editor shows the notification **The files of the project were changed
    outside OpenL Studio**. It stays until it is closed, the module is read again or the editor is left. The editor
    keeps what it shows, so an edit in progress is not lost; click **Refresh** in the notification to read the files
    again. A change not yet saved in the editor is lost on refresh.
-   The project is named by the `<name>` of its `rules.xml`, whatever its folder is called, and keeps its tags in
    `tags.properties` of the folder.
-   Earlier versions of a module are kept as when a copy is edited, so an edit is rolled back from the local history
    of the module. A version another program saved is kept as well before OpenL Studio writes over it.

![A notification that the files of the project were changed outside OpenL Studio, with the Refresh button](images/module-changed-on-disk.png "A file of the module changed outside OpenL Studio")

*A file of the module changed outside OpenL Studio*

A project opened before OpenL Studio ran this way stays a copy in the workspace while it has unsaved changes, so that
they can be saved; once it has none, the project is edited in place.

### Viewing the Project Overview

The **Overview** tab of a project page shows the configuration of the project on the left and its properties on the right. A section or a property that the project has no value for is not shown.

![The Overview tab of an open project](images/project-overview.png "The Overview tab of a project")

*The Overview tab of a project*

The left part describes the project configuration that is stored in `rules.xml`:

-   **Modules** lists the modules of the project. Modules that are found by the standard `rules/` and `tests/` folders are shown as **Auto-discovered modules** and **Auto-discovered tests** with the pattern that finds them, and modules that `rules.xml` declares are shown with their names and paths. Click the name of a module to open it in the editor.
-   **Version patterns**, **Properties processor** and **Exposed methods** show the corresponding settings of `rules.xml`.
-   **Dependencies** lists the projects that this project depends on under **Depends on**, followed by the projects that depend on it under **Used by** and the **Libraries** it names by Maven coordinates. A link opens the project, and **Not Found** marks a dependency that no project of the repository satisfies. A dependency that names Maven coordinates, or whose project of its name the `pom.xml` of this project or of a project it depends on declares, is compiled from the archive of the Maven repository while you have no project of its name open: it is marked **From Maven**, and clicking the mark opens the archive read-only, as described in [Viewing a Maven Dependency](#viewing-a-maven-dependency). While the project is open, its coordinates are shown beside it in grey. A project depending on two projects that need two versions of one downloaded project compiles one of them, the first one its dependencies reach: the dependency is marked **Version conflict**, the versions left out are listed on hover, and the compilation reports a warning. To edit a dependency, its project and its Maven coordinates, click **Edit**; a dependency with coordinates and no project is a library.
-   **Sources** lists the folders and libraries that hold the source code of the project.
-   **OpenAPI** shows the OpenAPI file of the project and its mode.

To change this configuration, click **Edit** above the sections. The button is shown while the project can be modified. For more information, see [Editing and Saving a Project](rules-editor.md#editing-and-saving-a-project).

The right part shows the properties of the project:

-   **Status** — one of the statuses described in [Browsing Projects](#browsing-projects).
-   **Repository** and **Path** — the repository and the folder where the project is stored.
-   **Branch** — the branch the project is on. The branch is a switcher, as described in [Working with Project Branches](project-branches.md#working-with-branches).
-   **Revision ID** — the short ID of the revision the project is based on. The copy icon copies the full revision ID.
-   **Modified** — who modified the project last and when. For a Git repository, the display name of the user is shown.
-   **Comment** — the comment of the last revision.
-   **Tags** — the tags of the project. See [Tagging a Project](#tagging-a-project).

When another user locks the project, the tab starts with a note saying who locked the project and when, and the **Release lock** button unlocks it, as described in [Unlocking a Project](#unlocking-a-project).

### Viewing a Maven Dependency

The projects tree lists the projects downloaded from the Maven repository that your workspace depends on under the
**Maven** repository, beside the design repositories. A project of it opens read-only at an address made of its
coordinates, `/maven/<groupId>/<artifactId>/<version>`. It is also reached from the **From Maven** mark of a
dependency on the **Overview** tab, and from any link to a table of the project, such as the **Target Table** of a
test or a call in a cell.

The address opens any OpenL project of the Maven repository, even one that no project of your workspace depends on:
OpenL Studio downloads it, and the projects tree lists it under **Maven** while it is shown. An address of an archive
that is not an OpenL project, or that the Maven repository does not have, shows why the project cannot be shown.

The page is the page of a project of the workspace, with the version of the project and **Read-only** beside its
title, and **Deploy** and **Export** above its tabs:

-   **Overview** lists the modules, the projects it depends on, the projects of your workspace that depend on it
    under **Used by**, and the libraries it names; the right column shows the **Maven** repository and the
    coordinates of the project.
-   **Deploy Configuration** shows its `rules-deploy.xml` settings and the deployments that carry it.
-   Its files unfold in the projects tree. A file picked there is shown with **Export**, and a workbook of a module
    also offers to open the module; a folder can be exported as a ZIP archive.

Nothing on the page can be edited. The version stands beside the name of the project in the projects tree too, so two
versions of one project are told apart; projects of one name in two repositories show their repository there.

![The page of a project downloaded from the Maven repository](images/maven-dependency.png "A Maven dependency, read-only")

*A Maven dependency, read-only*

![A file of a project downloaded from the Maven repository](images/maven-dependency-file.png "A file of a Maven dependency, read-only")

*A file of a Maven dependency, read-only*

A module of the project opens in the editor, as a module of a project of the workspace does: the tables in the tree on
the left, the table picked in the middle, its properties in **Table Details** on the right, and the problems of the
compilation below. The project is compiled with the projects it depends on, as a project of the workspace is.

-   **Run**, **Trace** and **Benchmark** run the table, and **Test** runs the tests of the project.
-   **More** > **Table Dependencies** shows how the tables use each other.
-   **Deploy** deploys the project as it is downloaded, and **Export** saves it as a ZIP archive.
-   **Edit**, **Copy**, **Remove**, **Create Test** and **Create Table** stand disabled: the project is read-only.

A call in a cell leads to the table it names — in this project, in another downloaded project, or in a project of
your workspace — and the trail above the title leads back to the page of the project.

![A module of a project downloaded from the Maven repository](images/maven-dependency-module.png "A module of a Maven dependency, read-only")

*A module of a Maven dependency, read-only*

To change the project, open it from its design repository, and it is compiled instead of the downloaded one.

### Tagging a Project

Project tags classify projects, for example, by business domain or line of business. The tag types and values are defined as described in [Managing Tags](administration/06-tags.md#managing-tags).

The tags of a project are stored in the `tags.properties` file located in the root directory of the project, one `<type>=<value>` line per tag. OpenL Studio does not ask for tags when a project is created. A project has the tags that its files carry, for instance, when it is created from a ZIP archive or copied from another project.

Tags are shown in the **Tags** section of the **Overview** tab and in the project list, and they can be used for filtering and grouping projects:

-   Each tag type defined in OpenL Studio has a color of its own, taken by its place in the order an administrator arranged the tag types in. A tag type that is not defined in OpenL Studio is gray. A tag value is shown as a chip in the color of its type, and the tag icon of the type is in the same color in the **Filters** and **Tree** views. In the project list, a chip shows the value alone, and pointing to it shows the type. The tags of a project stay on one line: the tags that do not fit are collapsed into a **+N** chip, and pointing to it shows them.
-   The tags, the tag groups of the **Filters** view and the tag types offered by **Group projects** follow the order an administrator arranged the tag types in, as described in [Managing Tags](administration/06-tags.md#managing-tags). The tag types not defined in OpenL Studio follow them.

The **Tags** section lists the tags in this order, followed by the tags of types not defined in OpenL Studio. The editor starts in the same order, so saving the tags writes the `tags.properties` file in it. To tag a project, proceed as follows:

1.  Open the project and its **Overview** tab.
1.  Click the pencil icon **Edit tags** next to **Tags**. The icon is shown only while the project can be modified.
1.  Click **Add**, and enter the tag type in the first field and the tag value in the second one.

    The fields suggest the tag types and values defined in OpenL Studio, the way the type fields of **Create Table** do: opening a field lists every suggestion, even when the field already holds a value, and typing narrows the list. Any name and value can be entered. Each tag type can be used only once in a project.

    ![Editing the tags of a project](images/project-tags-edit.png "Editing the tags of a project")

    *Editing the tags of a project*

1.  To remove a tag, click the trash icon at the end of its line.
1.  Click the check mark to save the tags, or the cross to cancel the changes.

    A tag with an empty type or an empty value is left out.

The tags are written to the `tags.properties` file, and the project status changes to **In Editing**. When every tag is removed, the file is deleted. Save the project to store the tags in Design repository.

The **Tags** section checks the tags against the tag types defined in OpenL Studio, both while the tags are viewed and while they are edited:

-   A tag type that is not defined in OpenL Studio is shown in the warning color, and a warning below the tags lists such types. Such a tag can be edited or removed like any other one, or an administrator can add it on the **Tags** page of the administration, which lists the tags that projects carry but that are not defined, as described in [Managing Tags](administration/06-tags.md#managing-tags).
-   A mandatory tag type, the one with **Required** selected, that the project has no value for is reported as `Tag type '<tag type>' is mandatory.` below the tags.
-   A value that a tag type with **Extensible** cleared does not have is reported as `'<value>' is not allowed value for tag type '<tag type>'.` below that tag. Values are compared regardless of case, and any value of an extensible tag type is accepted.

These are warnings: the tags can be saved anyway, since a project may carry tags that the current configuration no longer allows, for instance, when it comes from Git. A warning disappears as soon as the tag is corrected in the editor.

![The Tags section listing Insurance Type before BLOB in the arranged order, and warning about a value not allowed for BLOB, the undefined Region tag type, and the missing mandatory Domain tag](images/project-tags-warnings.png "Warnings about the tags of a project")

*Warnings about the tags of a project*

If a tag is used for grouping in a project tree, its value in a tree gets updated only when the project is saved.

When a project created from an archive or copied from another project carries a value of an extensible tag type that is not yet configured in OpenL Studio, OpenL Studio adds the value to the tag type.

### Managing Project Access

A user gets access to a project through a role, as described in
[Understanding Roles](administration/04-user-information/01-groups.md#understanding-roles). An Administrator assigns
roles in the **Administration** panel. A user with the **Manager** role can also grant, change, and revoke the roles
other users have on the projects the user manages, without involving an Administrator.

A Manager does it in the **Management** tab of a project. The tab is shown to:

-   Administrators.
-   Users with the **Manager** role on the project or on its repository.

The tab is not shown for a project in the **Local** status, which is not shared with anyone, or in the single-user
mode, where there are no other users to grant access to.

To manage the access to a project, proceed as follows:

1.  Open the page of the project and click the **Management** tab.

    ![Management tab with the roles assigned on a project](images/project-management-tab.png "Roles on a project")

    *Roles on a project*

    The tab lists everyone who has a role on the project:

    -   **Subject** and **Type** — the name of the user or group. Groups are listed only where OpenL Studio is
        integrated with an external user management system, such as Active Directory, LDAP, or an SSO provider.
    -   **Role** — **Viewer**, **Contributor**, or **Manager**.
    -   **Source** — **Project** for a role assigned on the project itself, and **Repository** for a role held on
        the whole repository.

1.  Do any of the following:

    -   To grant a role, click **Add access**. Start typing the username and select the user from the suggestions,
        which appear from the second character. Choose the **Role**, **Viewer** at first, and click **Grant access**.
        Where groups are supported, the dialog also asks for the **Subject Type**, **User** or **Group**. A name that
        does not exist in OpenL Studio is refused with an error in the dialog, and a user who already has a role on
        the project gets the new role instead of the old one.

        ![Add access dialog with a user and a role selected](images/add-access-dialog.png "Granting a role on a project")

        *Granting a role on a project*

    -   To change a role, select another one in the **Role** column. The change is saved at once.
    -   To revoke a role, click the trash icon at the end of the row and click **OK** to confirm.

A change takes effect at once: the next request of the user is checked against the new role, and the user does not
need to sign in again.

Keep in mind:

-   Revoking removes only the role assigned on the project. The user keeps the access that comes from a role on the
    repository, from a group, or from the Default Group. A role assigned on the project takes precedence over the
    one inherited from the repository, as described in
    [Role Inheritance and Conflict Resolution](administration/04-user-information/01-groups.md#role-inheritance-and-conflict-resolution).
-   A role from the **Repository** is listed only to a Manager of that repository. It applies to every project of the
    repository, so it is read-only here and is changed by an Administrator in the **Administration** panel.
-   A Manager cannot change or revoke their own role on the project: the role of that row cannot be selected, and the
    row has no trash icon.
-   Roles assigned on a project are shared by every branch that holds it. They are removed with the last branch
    holding the project, whether the project is deleted with **Delete** or its branch with **Delete Branch**. A
    project created later in the same folder starts with the role of its creator only, also when the old project was
    removed outside OpenL Studio, for example with its branch deleted on the Git server. While the repository is
    still being indexed, creating a project in such a folder is refused with a message to try again later.

### Modifying Project Contents

This section describes modifying the physical structure of the project and includes the following topics:

-   [Creating a Folder](#creating-a-folder)
-   [Creating a Text File](#creating-a-text-file)
-   [Uploading a File](#uploading-a-file)
-   [Updating a File](#updating-a-file)
-   [Editing a Text File](#editing-a-text-file)
-   [Renaming, Moving and Copying a File](#renaming-moving-and-copying-a-file)
-   [Deleting a Folder or a File](#deleting-a-folder-or-a-file)

The files of a project are reached from the tree on the left, as described in
[Browsing the Project Tree](#browsing-the-project-tree): expand the project, and select a file to view it or a folder
to see the actions available for it. The file or the folder is shown in place of the content of a tab.

![The page of a project showing a text file selected in the tree](images/project-file-in-tree.png "A file of a project")

*A file of a project*

A project can be modified only while it is open and not locked by another user. The **Add** menu and the actions for
files and folders are not shown otherwise. **Add** in the pane of a folder adds to that folder. **Add** among the
actions of the project adds to the folder shown, beside the file shown, or at the root of the project while a tab is
shown.

Every change is made in the workspace copy of the project. The project status changes to **In Editing**, and the
added, modified and deleted files are marked in the tree. Save the project to store the changes in Design repository, as
described in [Saving a Project](#saving-a-project); the **Save** window lists them.

An uploaded Excel workbook or ZIP archive is checked for completeness before it is stored. A file that did not
arrive in full — an upload interrupted halfway, or content damaged on its way — is rejected with an error, so a
module nobody can open never reaches the project. Files of any other type are stored as they arrive, and an
upload larger than 1000 MB is refused rather than checked.

While **Format tables on save** is selected in [System Settings](administration/02-system-settings.md), an uploaded
`.xlsx` file is formatted with the OpenL table style before it is stored, as described in
[Reformatting Excel Files](rules-editor.md#reformatting-excel-files).

#### Creating a Folder

To create a new folder in the project structure, proceed as follows:

1.  In the tree, select the parent folder in which the new folder must be created, and click **Add** in its pane.
    To create a folder at the root of the project, select a tab of the project and click **Add** among its actions.
2.  Select **New folder**.
3.  In the **New folder** window, enter the path of the folder in the **Path** field and click **OK**.

    The path starts with the folder selected in the tree. To select an existing folder as the beginning of the path, click **Browse folders** **⋮**.

![The New folder window](images/new-folder-dialog.png "Creating a folder")

*Creating a folder*

The new folder is shown at once, so that its first file is added from its pane. A new folder is not stored on its own: it stays empty in the tree until a file is added to it, and only then appears in Design repository. **Remove empty folder** in the folder pane removes a folder that has no files yet.

#### Creating a Text File

To create an empty text file, for instance, a `rules-deploy.xml` or a properties file, proceed as follows:

1.  Select the folder of the file in the tree, and click **Add** in its pane or among the actions of the project. For
    a file at the root of the project, select a tab of the project and click **Add** among its actions.
2.  Select **New text file**.
3.  In the **New text file** window, enter the file name in the **Name** field. The **Path** field starts with the folder; enter or select another folder to place the file there.
4.  Click **OK**.

The file is created empty and can be filled in as described in [Editing a Text File](#editing-a-text-file).

![The New text file window](images/new-text-file-dialog.png "Creating a text file")

*Creating a text file*

#### Uploading a File

To upload files to a project folder, proceed as follows:

1.  In the tree, select the folder where the files should be uploaded, and click **Add** in its pane or among the
    actions of the project. To upload files to the root of the project, select a tab of the project and click **Add**
    among its actions.

    The **Path** field of the window starts with the selected folder.

1.  Select **Upload**.

    ![The Add menu of a folder](images/files-add-menu.png "The Add menu")

    *The Add menu*

    The **Upload** window appears:

    ![The Upload window](images/upload-file-dialog.png "Uploading a file")

    *Uploading a file*

1.  Click or drag one or more files to the upload area.
2.  If a single file is uploaded, the **Name** field suggests its name. Enter the name of the file to be used in Design repository if it must differ.

    Several files keep their own names.

1.  In the **Path** field, enter or select the folder. Leave the field empty to upload files to the project root.
2.  Click **OK**.

#### Updating a File

To replace the content of a file of the project, proceed as follows:

1.  In the tree, select the file to be updated.
2.  Click the **More actions** icon **⋮** and select **Update**.
3.  In the **Update file** window, click or drag the file with the new content to the upload area.
4.  Click **Update** to end the action.

The file keeps its path and name.

#### Editing a Text File

A text file, such as `rules.xml`, `rules-deploy.xml` or a Groovy script, selected in the tree opens in a viewer on the page of the project. To edit it, proceed as follows:

1.  Select the file and click **Edit**.
2.  Change the content.
3.  Click **Save** to keep the changes in the workspace copy, or **Cancel** to discard them.

The viewer and the editor colour the syntax of an XML, JSON, YAML, `.properties`, Groovy and Java file in the colours
of the theme; any other text file is shown plain. In Groovy and Java, a type, a method call and the path of an import
each take a colour of their own, apart from a variable. In a `.properties` file, a key is coloured as the name of a
property and its value as a string.

An Excel workbook or another binary file cannot be viewed here. Its pane offers **Export**, and for a module of the project, **Open in Editor** opens the tables of the module in the editor.

The `i18n` folder holds the localization files of the project, and its pane offers **Open in Editor**, which opens the messages of all languages on the **Localization** screen. **Open in Editor** of a localization file opens them too, as described in [Editing Localization Messages](rules-editor.md#editing-localization-messages).

A localization file of the project, a `message*.properties` file of the `i18n` folder, is checked as the compilation checks it while the project is open. The viewer and the editor underline each place the check warns about and mark its line with a warning icon; point to the place to read the warning. A warning about the whole file, such as keys the language leaves untranslated, is about no line of it: it is shown above the text of the file. The file is checked again when it is read and every time it is saved.

![The French localization file selected in the tree, the warning about the whole file above its text and the warning about the farewell key pointed at](images/localization-file-problems.png "Warnings in a localization file")

*Warnings in a localization file*

#### Renaming, Moving and Copying a File

The **More actions** icon **⋮** of a selected file offers the following actions:

-   **Rename** — changes the name of the file. Enter the name in the **New File Name** field.
-   **Move** — moves the file to another folder. Enter or select the folder in the **Path** field.
-   **Copy** — creates a copy of the file. Enter the name of the copy in the **New File Name** field and the folder of the copy in the **Path** field.

![The actions of a file](images/file-actions-menu.png "The file actions menu")

*The actions of a file*

![The Copy file window](images/copy-file-dialog.png "Copying a file")

*Copying a file*

A folder can be copied as well: select the folder and click **Copy** in its pane.

A file or folder name cannot contain the characters `\ / : ; < > ? * % ' [ ] | "`, start with a space, or end with a
space or a dot. A name that Windows reserves for a device, such as `CON`, `PRN`, `AUX`, `NUL`, `COM1` or `LPT1`, in any
letter case and with any extension, is refused too. The message of a refused action names the reason. A file that
already has a reserved name can still be opened, downloaded, renamed, moved and deleted.

The newly created file appears in the tree.

#### Deleting a Folder or a File

To delete a folder or a file in the project structure, proceed as follows:

1.  Expand the tree and select the folder or file to be deleted.
2.  For a file, click the **More actions** icon **⋮** and select **Delete**. For a folder, click **Delete** in its pane.
3.  In the confirmation window, click **Delete**.

![Confirming the deletion of a file](images/delete-file-dialog.png "Deleting a file")

*Deleting a file*

Deleting a folder or a file changes the opened project. Save the project to store the deletion in Design repository.

### Copying a Project

Copying a project creates a new project with identical contents and a different name in Design repository, or a new branch of the same project. A copy can
be created from the **New Project** wizard or from the selected project's **Copy** action.

To copy a project from the **New Project** wizard, proceed as follows:

1.  Click **New Project** and select **Copy project**.
2.  Select the source project and enter the new project name.
3.  Select the target repository.
4.  For a branch-capable repository, select an existing branch or enter a new branch name in the single **Branch**
    field.
5.  If necessary, specify a path and modify the commit comment, when the target repository supports comments.
6.  Click **Create**.

![Configuring a project copy and its target branch](images/copy-project-dialog.png "Copying a project")

*Copying a project in the Create Project wizard*

To copy the selected project, proceed as follows:

1.  Click the **Copy** icon in the row of the project, or click **Copy** on the page of the project.

    For a repository that supports branches, the **Copy project** window initially offers to create a branch of the project: it shows the **Current Branch** and suggests a name in the **New Branch Name** field. For more information, see [Creating a Branch](project-branches.md#creating-a-branch).

    ![The Copy project window offering a new branch](images/copy-project-branch-dialog.png "Copying a project into a new branch")

    *The Copy project window offering a new branch*

2.  Select **Create a New Project** to copy the project instead of branching it.
3.  Enter the new project name and select the target repository. The window starts on the repository of the project
    when a project can be created there, or else on the first repository offered.
4.  For a branch-capable target repository, select an existing branch or enter a new branch name in **Branch**.
5.  If necessary, specify the target path and modify the commit comment, when the target repository supports comments.
6.  To copy an earlier state, select **Copy an Old Revision** and choose the revision.
7.  Click **Copy**.

    When the copy is not made, the window stays open with the message and with every field as it was filled in, so
    **Copy** can be clicked again.

A copy in the default branch appears in the project list at once; a copy in another branch is listed once that branch
is picked in the **Branch** filter. The selected branch is its home branch when no other branch contains the project.

The first revision of the copy says which project it was copied from, for example **Copied from: Bank Rating.** In the
**Revisions** tab and in **More \> Revisions** of the editor, the name of that project is a link that opens it. The link
leads to the project of that name in the repository of the copy, or else to the only project of that name the user sees
in another repository. When no such project is found, for example after the source project was deleted, the name is
plain text.

### Removing a Project

Deleting a project removes it from the user's workspace and from the current state of Design repository. For Git
repositories, OpenL Studio stores this change as a regular delete commit, so repository history keeps the deletion
event. If the project is opened by any user on the deleted branch, OpenL Studio closes it before removal and
discards unsaved changes. If the project also exists in another branch, it remains available in that branch, and
copies opened from those other branches are not removed.

> [!Note]
> Projects in the **Local** status that were not uploaded to Design repository will be removed physically and cannot be restored.

To delete a project, proceed as follows:

1.  Perform one of the following steps as required:
    -   On the page of the project, click **Delete**.
    -   On the **Projects** page, select **Delete** in the **Actions** menu **⋮** of the row of the project.
1.  In the confirmation window, enter a comment if the field is shown. File repositories do not show it.
2.  Select **I understand that the project will be deleted**.
3.  Click **Delete**.

![Confirming the deletion of a project](images/delete-project-dialog.png "Deleting a project")

*Deleting a project*

When Design repository refuses the deletion, such as a Git server that does not let the user write to the repository,
the project stays in Design repository, and the message names the repository and the reason it gave.

### Deploying a Project

OpenL Studio allows deploying a project directly to a deployment repository.

To deploy a project, proceed as follows:

1.  Perform one of the following steps as required:
    -   On the page of the project, click **Deploy**.
    -   On the **Projects** page, select **Deploy** in the **Actions** menu **⋮** of the row of the project.

    > [!Note]
    > The **Deploy** action is not offered if the project has the **Local** status or has unsaved changes. Save the project first.

    The **Deploy "&lt;Project Name&gt;" project** dialog appears.

    ![Deploy project dialog](images/deploy-project-popup.png "Deploying a project")

    *Deploy project dialog*

2.  In the **Repository** dropdown, select the target deployment repository. Only the repositories the user may deploy to are offered.
3.  In the **Deployment Name** field, select an existing deployment from the list or type a new name to create one.
4.  In the **Comment** field, enter a comment describing the deployment. A repository that keeps no comments, such as
    a **Local** one, does not offer the field.
5.  If a dependency of the project names Maven coordinates, select in **Dependencies** where a dependency project
    that both Design repository and the Maven repository have is taken from: **From design repositories**, the
    default, or **From Maven repository**. A dependency project only one of them has comes from that one.
    When several versions of one dependency project are required, the dialog warns: the deployment holds the version
    the project is compiled with, as its **Overview** shows.
6.  Click **Deploy**.

A deployment name follows the rules of a project name: it cannot contain the characters `\ / : ; < > ? * % ' [ ] | "`, start with a space, end with a space or a dot, or be a reserved word such as `CON`. If the name is not accepted, the reason is displayed under **Deployment Name**, and nothing is deployed.

The project is deployed to the selected deployment repository, and the **Project deployed** message is displayed. The project is listed in the deployment on the **Deployments** page and in **Existing deployments** of its **Deploy Configuration** tab.

When the project or a project it depends on cannot be read from Design repository, such as a saved project whose `rules.xml` was deleted, nothing is deployed, and the dialog shows `Nothing is deployed: the project '<name>' cannot be read from the design repository.`

The deployment holds the project, the projects it depends on, and the libraries the `rules.xml` of these projects name
by Maven coordinates, so OpenL Rule Services runs it without a Maven repository. A library is put into the `lib`
folder of the project that names it; a project downloaded from the Maven repository is deployed as it was packaged,
with its own libraries. When the Maven repository has not something the deployment needs, nothing is deployed, and
the dialog shows `Nothing is deployed: the deployment needs what cannot be downloaded from the Maven repository.`
followed by the reason.

A deployment repository can be configured to take projects only from the main branch of Design repository. For a project that is on another branch, the dialog explains that the project must be switched to the main branch or another repository must be selected, and **Deploy** is disabled.

The following topics are included in this section:

-   [Configuring Rules Deploy Configuration Settings](#configuring-rules-deploy-configuration-settings)
-   [Defining Rule Service Version](#defining-rule-service-version)

#### Configuring Rules Deploy Configuration Settings

Deployment rules can be added before deploying a project to deployment repository. They are stored in the `rules-deploy.xml` configuration file of the project and shown in the **Deploy Configuration** tab. The right part of the tab, **Existing deployments**, lists the deployments of the project: the name of the deployment, its repository, the design revision that was deployed with its author and the time it was deployed.

![Deploy Configuration tab of a project with no rules-deploy.xml yet](images/project-deploy-configuration-tab.png "The Deploy Configuration tab")

*The Deploy Configuration tab*

Proceed as follows:

1.  Open the project and click the **Deploy Configuration** tab.
2.  Click **Edit**. The button is shown while the project can be modified.

    A project without the `rules-deploy.xml` file shows the note that the file will be created when the settings are saved.

3.  In the tab, enter the following information about the rules:
    -   **Provide Runtime Context** — switch it on to provide runtime context. The switch is deprecated and kept for
        projects upgraded from earlier versions: a new project declares the runtime context properties in the fields
        of its input datatypes as described in [Reference Guide > Runtime Context Properties in Datatype
        Tables](../reference-guide/02-working-with-openl-tables/04-table-properties/05-rule-versioning.md#runtime-context-properties-in-datatype-tables).
    -   **Publishers** — select the publishers, for example, RESTFUL or KAFKA.
    -   **Service Name** — enter the service name.

        The service name is displayed for a deployed project only in the embedded mode.

    -   **Service Class** — define the service class.
    -   **Version** — define the service version.

        For more information on service version definition, see [Defining Rule Service Version](#defining-rule-service-version).

    -   **URL** — enter URL of the service.
    -   **Annotation Template Class** — define the annotation template class.
    -   **Groups** — define comma separated service groups.
    -   **Configuration (XML)** — add configuration description to the XML file.

        For more information on the **Deploy Configuration** tab settings configuration, see [OpenL Tablets Rule Services Usage and Customization Guide > Service Configurer](../rule-services/configuration.md#service-configurer).

1.  Click **Save**.

    ![Defining rules deploy configuration settings](images/rules-deploy-configuration-settings.png "Defining rules deploy configuration settings")

    *Defining rules deploy configuration settings*

    The settings are written to `rules-deploy.xml`. The file is a project file, so the project status changes to **In Editing**. Save the project to store the settings in Design repository.

> [!Note]
> Only **Annotation Template Class** is offered. When `rules-deploy.xml` names the class in the `interceptingTemplateClassName` element, the value is shown in this field, and the file is saved with the `annotationTemplateClassName` element.

A `rules-deploy.xml` that keeps settings in a legacy form shows the **Migrate** button. It brings the file to the current minimal form: drops the default runtime-context flag, renames the legacy template class setting, and replaces the Jackson typing settings that OpenL Tablets no longer reads: the `EVERYTHING` default typing mode becomes `NON_FINAL_AND_ENUMS`, and `jackson.simpleClassNameAsTypingPropertyValue` gives way to the `NAME` type id it stood for. The file is written anew, so its comments and layout are not kept.

#### Defining Rule Service Version

OpenL Studio supports versioning definition for rule services. This functionality allows specifying a version for the project revision to be deployed. The required version of the deployed project can be called from deployment repository. All specified versions of the project appear on the OpenL Tablets Rule Services page with a version number defined in brackets.

To check the services version deployment, in OpenL Tablets Rule Services, find the name of the deployed project. Services version is set both in the services header and in the services URL.

![](images/services-version-header.png)

*Services header and URL with the version number*

To define the rule service version, proceed as follows:

1.  Open the project and click the **Deploy Configuration** tab.
2.  Click **Edit**.
3.  In the **Version** field, enter the services version.

    For example, to create the services version 1.0, enter `1.0`.

1.  For more information on how to configure deployment configuration settings, see [Configuring Rules Deploy Configuration Settings](#configuring-rules-deploy-configuration-settings).
2.  Click **Save**.

The selected services version is displayed in the **Deploy Configuration** tab of the project. For the example displayed in this section, the project version is 1.0.

### Viewing the Changes of a Revision

Each revision of the **Revisions** tab tells which files of the project it changed, the way Git shows a commit.
The same list is available in the editor through **More \> Revisions**.

To view the changes of a revision, proceed as follows:

1.  On the **Revisions** tab of the project, click the revision.

    The revision expands and lists the files it added, modified or deleted, ten files a page. A click on the revision
    again collapses it; expanding it later shows the same list without reading it again.

    ![The files a revision changed](images/revision-changes.png "An expanded revision listing the files it changed")

    *The files a revision changed*

1.  To see what changed in a file, click its row. Each file is named after the icon that marks it added, modified or
    deleted, followed by the folder it is in.

    The comparison window opens with the file as it was before the revision and as the revision left it: an Excel
    file is compared element by element, as described in [Comparing Excel Files](rules-editor.md#comparing-excel-files),
    and any other file line by line. A file the revision added is empty before it, and a file it deleted is empty
    after it, so the whole file shows as added or removed.

A revision is compared with the revision it was made on:

-   In a Git repository it is the parent commit. A merge is compared with the branch as it was before the merge, so
    it lists what the merge brought in.
-   In a repository without commits it is the previous revision of the project.
-   The first revision of a project lists every file as added, and a revision that deleted the project lists every
    file as deleted.
-   A revision that changed no file of the project, such as a technical revision, says so instead of listing files.

Only the files inside the project folder are listed. The files the system settings ignore are not listed either.

### Comparing Two Revisions

Any two revisions of the **Revisions** tab can be compared with each other without opening either of them: the
project stays on the revision it is open on. The same works in the editor through **More \> Revisions**.

To compare two revisions, proceed as follows:

1.  On the **Revisions** tab of the project, click the marker of the first revision on the timeline at the left of
    the list. The marker turns into a check mark, and the line above the list asks for one more revision.
2.  Click the marker of the second revision. A click on a marked revision lets it go; while two revisions are
    marked, the others cannot be marked until one of the two is let go.
3.  Click **Compare Revisions** at the end of the line above the list. **Clear** lets both revisions go.

    The comparison window opens with the name of the project and the two revisions side by side, the earlier one
    first, whatever order they were marked in. Each revision shows its comment, its author, its date and its number.
    Under them, the window lists the files changed between the two revisions, ten files a page. A file changed several
    times in between is listed once, with the difference between the two revisions.

    ![The files changed between two revisions](images/compare-revisions-window.png "The comparison window listing the files changed between two revisions")

    *The files changed between two revisions*

1.  To see what changed in a file, click its row.

    The file is compared in the same window, as described in
    [Viewing the Changes of a Revision](#viewing-the-changes-of-a-revision): as of the earlier revision against the
    later one. The head of the window names the project, the folder and the file, and the two revisions. The arrows
    beside the position of the file, such as **2 of 15**, open the previous or the next changed file in its place.
    To pick another file, click the back arrow or the name of the project: the list comes back on the page of the
    file last compared, with that file marked.

### Comparing Project Revisions

OpenL Studio compares the project as the working copy has it now, the changes not saved yet included, with a
revision of it. To compare the working copy with a revision, proceed as follows:

1.  On the page of the project, click **Compare**. On the **Projects** page, **Compare** is in the **Actions** menu
    **⋮** of the row.

    The comparison opens in a window of its own, where the revision to compare the working copy with is picked: the
    branch, in a repository with branches, and a revision of it. The newest revision of the branch the project is on
    is picked first.

    ![The branch and the revision the working copy is compared with](images/compare-project-revisions.png "Picking the revision the working copy is compared with")

    *Picking the revision the working copy is compared with*

2.  Click **Compare**.

    The window lists the files changed between the revision and the working copy, ten files a page, as it lists the
    files changed between two revisions. The revision stands first, headed **Selected revision**, with its comment,
    its author, its date and its number, and the working copy stands beside it, headed **User workspace**. A file is
    changed when its content differs, so a file changed and then changed back is not listed.

    A revision the working copy is not made on, such as a revision of another branch, comes with the common revision
    both histories parted at, and a note under the two names it. The window then shows what the working copy changed
    since that revision, the way a pull request shows what a branch changed: the files listed are the ones the working
    copy changed since it. For the working copy, it is the revision the working copy was opened at or one before it, so
    a later revision of the same branch has one too. The note also estimates whether a merge of both sides would
    conflict, the way Sync estimates it, without merging anything, and every file both sides changed in the same
    parts is marked **Possible conflict** in the list and above the file compared. The estimate is made from the saved
    revisions, so changes of the working copy not saved yet are not in it.

    ![The common revision of the working copy and a revision of another branch](images/compare-workspace-common-revision.png "The working copy compared with a revision of another branch")

    *The working copy compared with a revision of another branch, through their common revision*

    ![The files the working copy changed since a revision](images/compare-workspace-changes.png "The files the working copy changed since a revision")

    *The files the working copy changed since a revision*

1.  To see what changed in a file, click its row.

    The file is compared in the same window, as described in
    [Comparing Two Revisions](#comparing-two-revisions): as of the revision against the working copy, an Excel file
    element by element as described in [Comparing Excel Files](rules-editor.md#comparing-excel-files), and any other
    file line by line.

    With a common revision, the file is compared from it: **Common revision** against **User workspace**. An Excel
    file marked **Possible conflict** shows **Their version** and **Your version** instead, each compared with the
    common revision, side by side or as one table: their version first, as the revision your changes would be
    merged into. A cell one side changed is framed in orange and carries its value before and after; a cell both
    sides changed differently is framed in red and carries the value both started from, and under it each value
    with the name of its version. The two versions are compared by what they read alone, so **Formatting changes**
    is not offered for such a file.

### Exporting a Project or a File

To export a project, proceed as follows:

1.  On the page of the project, click **Export**. On the **Projects** page, **Export** is in the **Actions** menu **⋮** of the row.
2.  In the **Export** window, select the required **Project Revision** and click **Export**. A full project in the selected revision is downloaded as a ZIP archive.

    ![Exporting a project](images/export-project-dialog.png "Exporting a project")

    *Exporting a project*

The default project version for export is the one that a user has currently open. If it contains unsaved changes, it is marked as **In Editing,** otherwise, it is called **Viewing**. A closed project offers its revisions only, the latest first, and the list loads older revisions on demand: click **Load older revisions** at its end.

To export a file or a folder of the project as it is now, proceed as follows:

1.  In the tree, expand the project and select the file or the folder to be exported.
2.  Click **Export** in its pane.

A file is downloaded as it is, and a folder as a ZIP archive.

To export any revision of an Excel file of a module, click **Export** in the toolbar of the module in the editor. In the window that opens, select the required **File Revision** and click **Export**.

> [!Note]
> A project in the **Local** status has no revisions in a Design repository, so the export window offers
> its working copy only, listed as **Local**.

### Unlocking a Project

OpenL Studio provides a function for a user to unlock a project which is edited and, therefore, locked by another user. Be aware that after unlocking, all unsaved changes made by another user will be lost and the project will be closed. A lock icon follows the project name in the list, and the note on top of the **Overview** tab names the user who locked the project and says when.

To unlock a project, proceed as follows:

1.  Perform one of the following steps as required:
    -   On the page of the project, click **Unlock**.
    -   In the note on top of the **Overview** tab, click **Release lock**.
1.  In the confirmation, click **OK**.

![Unlocking a project that another user edits](images/unlock-project.png "Unlocking a project")

*Unlocking a project that another user edits*

**Unlock** is offered only to users who have administrative rights on the project. It is recommended to grant permission to the “Unlock” functionality only for administrators.

### Browsing Deployments

**The Deployment repository** contains project deployments and is also the location from where solution applications use them. OpenL Studio allows connecting several deployment repositories. For information on how to configure deployment repositories, refer to [Managing Repository Settings](administration/01-repository-settings/index.md#managing-repository-settings).

To browse a deployment repository, proceed as follows:

1.  Click **Deployments** in the top bar.
2.  In the **Repositories** panel, select the deployment repository to be browsed.

    The deployments of the selected deployment repository are listed on the right. The search field of the top bar, named **Deployments** on this page, finds a deployment by name. The bar under the list counts the deployments of the repository that match the search and switches the pages of a long list.

    ![The Deployments page](images/deployments-page.png "The Deployments page")

    *The Deployments page*

1.  Click a deployment to see the projects deployed in it.

OpenL Studio displays only the latest revisions of each deployment in the deployment repository.

When browsing deployments in the deployment repository, users can see their content, namely what rules projects are deployed.

For every deployed project, the list displays the following information:

-   **Project** — the name of the deployed project
-   **Revision in Design Repository** — the revision the project has in the design repository it was built from, named by who committed it and, underneath, when
-   **Modified By** and **Modified At** — who deployed the project and when

A deployed project keeps no reference back to where it came from, so its design revision is recognized by content: OpenL Studio indexes the revisions of the design repositories in the background and looks for the one whose files match the deployed project. Two consequences follow:

-   the revision of a project that was just deployed appears once the indexing reaches it, not immediately;
-   the revision stays unknown for a project deployed from a design repository this OpenL Studio does not have, and for content that no design revision matches.

The indexing is controlled by the `repository.cache.monitor.enabled` property. Switching it off leaves the **Revision in Design Repository** column empty for every deployed project.

![The projects deployed in a deployment](images/deployment-details.png "The projects of a deployment")

*The projects of a deployment*

### User Data for Git Commits

Upon user logon, OpenL Studio requires the user's email address and display name. If either value is missing, the
**Complete Your Profile** window opens before the user can continue to OpenL Studio. First Name and Last Name are
optional and can be used to generate the display name. The completed display name and email are used for Git commits
for the following actions:

-   create a project
-   copy a project
-   save a project
-   merge a project
-   delete a project
-   delete a branch
-   deploy a project to a Git deployment repository
-   synchronize a project

A deployment repository of another type, such as a database or AWS S3, records only the user name of who deploys.
OpenL Studio does not check the email address and the display name for such a deploy, which matters for a deploy
through the REST API or the MCP server.
