Referencing a Repository
If you have moved or copied a repository without using MEGA move or restore commands, you will have to reference the repository so that the environment recognizes it.

To reference a repository in another environment, the two metamodels must be identical.
To reference a repository:
1. Connect to HOPEX Administration and select the environment in which you want to reference the repository.
2. Right-click the Repositories folder and select Create reference.
3. (If the repository is password-protected) Enter the repository password and click OK.
4. Select a repository from SqlServer.

For more details on
HOPEX repository server type, see the
HOPEX deployment guide.
The HOPEX Repository Selection dialog box opens. This dialog box allows you to create a reference for a new repository in the environment.
5. Indicate where the repository .EMQ file is located. The repository name is automatically indicated and cannot be modified.
The repository is accessible exactly as repositories created in the normal way.

you must save and then restore a repository to move it from one environment to another. The users and metamodel of the two environments must be defined identically so that transfer occurs without reject.

To also copy these objects, import the missing part of the metamodel. One way of doing this is to upgrade the site or the environment. Then, import the rejected commands if you used the backup-restore procedure.

Check that the repository is not simultaneously referenced in two different environments. Compatibility errors may occur if the environments are not identical.