Connect a historical WorkZone instance
A historical WorkZone instance is a separate WorkZone installation that stores older data from before a migration or from a period change. Users can retrieve documents from this instance by using Import from WorkZone in WorkZone Client.
To import documents, you must establish a connection for each WorkZone environment that will import documents from the historical instance. The connection requires configuration in three places per environment and granting users access on the historical instance.
The instructions below apply to a separate installation for the historical instance, not to record period schemas in the same database.
Configure the connection
Section titled “Configure the connection”The configuration includes 4 steps:
Step 1: Add the external database in WorkZone Configurator (production or test instances)
Step 2: Add redirect URIs to the historical instance app registration
Step 3: Allow the environment origins on the historical instance
Step 4: Grant users access to the historical instance
Step 1: Add the external database in WorkZone Configurator (production or test instances)
Section titled “Step 1: Add the external database in WorkZone Configurator (production or test instances)”- Go to Global > External databases and click
Create.
- Fill in the Title, Hostname (the historical host), and Description fields.
- Turn on Enabled.
- Click Create.
See External databases in the WorkZone Configurator Administrator Guide.
Step 2: Add redirect URIs to the historical instance app registration
Section titled “Step 2: Add redirect URIs to the historical instance app registration”In the app registration for the historical instance, for example KMD WorkZone - <HIST>, add Single-page application redirect URIs for each environment that will import documents.
Add the following URIs for each environment:
https://<main-host>/app/client/https://<main-host>/app/client/authorize.html
Step 3: Allow the environment origins on the historical instance
Section titled “Step 3: Allow the environment origins on the historical instance”Configure Cross-Origin Resource Sharing (CORS) on the historical instance. Add one entry per environment origin. For container-based deployments this is the Helm value.
externalServices: customCorsUrls: - https://<main-host>After you have updated the configuration, redeploy the historical instance.
See also:
Section titled “See also:”About Cross-Origin Resource Sharing (CORS).
Step 4: Grant users access to the historical instance
Section titled “Step 4: Grant users access to the historical instance”Users who import documents must have access to the historical instance with the profile and access codes required to read the documents.
Verify the configuration
Section titled “Verify the configuration”Perform the following steps in each connected environment.
- Open a case in WorkZone Client.
- Select Import from WorkZone.
- Select the historical database.
- Search for documents.
If the configuration is correct, documents from the historical instance are listed.
See Importing documents to a case.
Troubleshooting
Section titled “Troubleshooting”Requests fail before log-in
Section titled “Requests fail before log-in”If requests fail before log-in and F12 (browser’s developer tools) shows that the OPTIONS request returns 401 without access-control-allow-origin, the calling environment origin is not included in the allowed origins.
Verify that the origin is configured in the CORS settings as described in step 3.
Document search returns 401 Unauthorized
Section titled “Document search returns 401 Unauthorized”The document search fails with 401 Unauthorized on /odata/Records. This means that the authentication against the historical instance was not completed successfully.
If you are running WorkZone Client 2026.2 or later, verify the configuration in steps 2 and 4.

