Using The Repository
  • 09 Apr 2024
  • 5 Minutes to read
  • Dark
    Light

Using The Repository

  • Dark
    Light

Article Summary

Overview

The Designer Repository contains all shared Designer Projects that have been stored and saved within an environment. These Projects can be sent, imported, or added to the Decisions Repository. To take full advantage of the Repository Actions, Designer Elements can be grouped into a Designer Project, which can then be added to the Repository. The following document demonstrates how to use the Designer Repository from a connected environment. Within a Designer Repository, all stored Projects can be viewed and accessed within the Folder Tree. Selecting a Project Folder from the tree will display the Project Dashboard, providing an overview of the selected Project.


Project Actions

In the Actions Bar, Create Branch, Create Sub Project, and Delete Project actions will be shown. Additional actions can be found by right-clicking the Project Folder in the Folder tree.  

ActionsDescription
Create BranchCreates a new Branch of the project in the Repository.
Create Sub ProjectCreates a Sub Project within the currently selected Folder.
Delete ProjectDeletes the currently selected Project from the repository.
Edit[Advanced]Allows editing of project details, such as updating the Description for the Project.
Manage TagsAssociates Tags to a Project.
Download

Download as ProjectDownloads the Project as a zip folder.

Download as of DateDownloads the Project at a specified Date.

Download Specific RevisionsDownloads the Project at a specific revision. The Revision ID will needed.
Manage

Manage PermissionsFolder Action used to manage permissions on a Folder.

Open Containing FolderOpens the Folder containing the Project.

Permissions: Disable Permissions InheritanceDisables Permission Inheritance on the Project Folder.
Open

Open FolderOpens a new tab containing the dashboard for the Project.

Open Folder ViewOpens a new tab displaying the list of Designer Elements in the Folder.

Open Summary For TrunkOpens a new tab displaying the dashboard for the Project.
Rollback

Rollback Project to DateCreates a new Revision for the Project.

Rollback Project to RevisionChanges the currently stored project to use a specific Revision.

Create Project

There are multiple methods to create Projects in Decisions. One method is through using the Create Project action, which is available on the Designer Repository Folder. 

  1. Provide a Project Name, Description URL, and Description, then click CREATE. 
    Note that the Description URL needs to be in a typical web address format. 

  2. The Project will appear in the Folder Tree. Selecting the Project will open the dashboard.

Delete Project

Projects can be deleted and removed from the Repository.

  1. Right-click the Project and select Delete Project
  2. Click YES to Delete the Project.

Download Project

Users can Download a Project to store it for later use or as a backup copy to restore back to.

  1. Navigate to the Project Folder.
  2. Select Download > Download Project from the top Action Bar. 
  3. From the Download Resources dialog, select the desired Branch then click OK
  4. Click the Download link. 
    The Download Resources box then displays the file path and name for the configured download. (for example: C:\Program Files\Decisions\Decisions Services Manager\Instances\Control\Repository\Downloads\MyFirstProject-MyFirstProjectDevelopment-12102018-050634.zip)

    Selecting the Download link proceeds with the download process by downloading the Project in .zip file to the displayed file path. From here the .zip file is saved and acts as a version of the Project that can be referenced/rolled back to at any point. 

Rollback Actions

The Rollback menu provides users with two options; Rollback to Revision (version) of the Project or Rollback to Date, which Rollback to whatever state the Project was at based on a specified moment in time.

Every time there is a change to the Project a new Revision (state of the Project) is created, meaning the user can Rollback at any time to the desirable past state.


Add/Removing a Project to the Repository

The steps to add or remove a Project to a Repository is similar to adding/removing Designer Elements to a Project, with the key difference being what category to run the action.  To add a new Project to the Repository:

  1. Right click the project > Designer Repository > Add to Project

To remove a Designer Element from a Project in the Repository:

  1. Right click the Designer Element > Designer Repository Remove from Project [Project Name]

Checkout/Update Project from Repository

Below is a list of terms used for the Action state on the checkout screen:

ActionMeaning
AddedItem was newly added to the project.
DeletedItem was removed from the project.
Need MergeItem was modified on the local instance and there is an updated version on the Repository.
UpdatedItem exists within the project and was changed.
  1. Navigate to System > Designers > Repository
  2. Select the CHECKOUT/UPDATE PROJECT button from the top Action bar. 
  3. Search for and select the Project, and Branch, then click CHECKOUT. If Advanced is checked, a specific Revision can be used instead.
  4. If any items require updating, select UPDATE, if not, close out the window via X.
  5. The Project will begin to download and begin to update the locally stored version of the Project. Once the Project has finished downloading, select DoneAny errors found can be downloaded using the Download Log button.
  6. The Import Resolution Screen will appear if there are validation issues after importing the project. Certain resolution actions will not be available depending on the Designer Element. Once the import completes, the Project will be available in the Folder Tree.

Committing/Sending Project Changes To Repository

Any changes to a Project can be checked into the Designer Repository. To check in a single Element (such as a Flow, DataStructure, etc...) to a Repository, it must be assigned to a Project. This Project may be either one created specifically for the element or as part of a pre-existing Project.

  1. Right-click the desired Entity or Project.
  2. Select Designer Repository > Checkin Changes for Project [Project Name].
  3. If the resource count for checked-in items is greater than the value defined in the Repository Settings, a Form will open, displaying the count of the Designer Elements. Select Review
  4. A new Form will open. Any items that are checked will be included in the commit. Once the items have been verified, provide a comment and click on Commit.
  5. Items will then begin to be checked into the Repository. Any errors during the check-in will be shown in the following Form. A Revision Number will be provided once the check-in has been completed. Select CLOSE after confirming that the changes were committed. 

Reverting Changes to a Branch

The Revert Revision action allows the user to revert a branch in a Project to the current revision. This action is available on the Designer Repository.

  1. In the Designer Repository, locate and select the Project.
  2. On the Repository Dashboard for the Project, select the name of the branch in the Repository.
  3. The Branch Summary Page should appear. Right click the latest Revision in the branch and select the Revert Revision action.
  4. Right-click the desired Revision ID and select Revert Revision.
  5. Confirm with OK.  The Repository environment may need to be restarted to apply changes.

Configuring a Repository Username and Password

  1.  Users can configure username and password credentials for use of the Repository for your local accounts. First, navigate to System > Security > Accounts. Right click on the desired Account, and then click Edit Account.
  2. Once the Edit Entity window appears, scroll down to the OTHER CONTACT DETAILS section and then click ADD under Other Contact.
  3. Select PICK under Other Contact Type and then select Decisions Repository. Then input the Account and Password information. Once that is complete, click OK. Then click SAVE to exit out of the Edit Entity window.

For further information on Repository, visit the Decisions Forum.

Was this article helpful?