Managing Repository Content
There are several repository options in the Rules Explorer view. Right-click on a repository to see the following choices:
- Create New Project: Right-click on the open repository name and select Create New Project to open the Create New Privacy Project dialog box. For more information, see Create-a-New-Data-Privacy-Project.
- Close Repository: Right-click on the open repository name and select Close Repository to close all open projects and then close the repository.
- Import Project: Right-click on the open repository and select Import Project. This command allows you to import a project that has been exported using the Export Project option available from the project. Only the Data Privacy Administrator can import project XML back into Data Privacy.
The import feature can only import a project that was exported from a repository with the exact same repository version. When this option is selected, a dialog box will be displayed where you will specify the location of the project to be imported. You can also optionally specify a new Project Name, Short Name, and Description. This allows you to quickly create a copy of a project and use it to work on variations.
The project ID assigned to the original project will be retained during the import, so any specifications which reference the original project can execute against the imported project as long as the correct repository is specified. If the original project ID is already being used in the repository, a warning message will be displayed and you can choose to import with a new project ID.
If any of the shared resources for credentials, managed keys, translate tables, or custom functions being used in the imported project are already defined in the repository, a warning message will be displayed and you will have the option to import the resources, use the existing resources, or cancel the import.
If the project imported makes use of custom functions, it will be accompanied by a folder with the custom function resources made available in the same location as the XML file. The folder will have the same name as the project XML with the suffix "_CustomFunctionResource". If the root resource folder is missing, or if the respective folder for the custom function resources is missing within that folder, or if the main implementation class is missing, the import process will display a message with that information.
- Edit Data Privacy Repository: Right-click on the open repository name and select Edit Data Privacy Repository. This command allows you to directly edit the project and translate table definitions that are defined in the repository and is useful when host, port, data set, and schemas must be changed to allow a project to be executed in an environment other than the one where it was defined.
See Editing the Data Privacy Repository for more information on this utility.