The OnBase Healthcare API connects to the OnBase data source using an ADO.NET connection string.
To configure the OnBase Healthcare API to connect to the OnBase data source:
- 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.
- Locate the DATASOURCES object.
Configure the following settings within the ConnectionStrings array:
A unique name to identify a specific data source. This can be different from the actual name of the database.
The ADO.NET connection string that connects to the database.Tip:
It is considered a best practice to encrypt this value using the Hyland Application Settings Utility. For information on using this utility, see the Hyland Application Settings Utility documentation on Community. For information on acquiring the utility, contact your first line of support.
The data provider type of the database. Usually either System.Data.SqlClient or Oracle.ManagedDataAccess.Client.
- Save appsettings.Production.json.
- Recycle the application pool of the OnBase Healthcare API server.