Configuring Allowed Origins - Hyland Clinician Window - 23.1 - 23.1 - Other - external

Hyland Clinician Window

Hyland Clinician Window

By default, a web browser will not allow a web application to request resources from a component unless the component has the same origin as the web application. You can relax this restriction by configuring components for cross-origin resource sharing (CORS).

To configure allowed origins for the OnBase Healthcare API:

  1. Open appsettings.Production.json of the OnBase Healthcare API in a plain-text editor. In a default installation, this file is located in C:\Program Files\Hyland\HCOnBaseAPI.
  2. Locate the following line:
    { "AllowedOrigins": "" }
  3. Set the AllowedOrigins value to the origins allowed to request resources from the OnBase Healthcare API.

    Use semicolons to separate multiple origins, as shown in the following example:

    { "AllowedOrigins": ";" }
  4. Save appsettings.Production.json.
  5. Recycle the OnBase Healthcare API application pool.