This article documents how to modify a self-hosted CMIS Gateway's config.json file in order to connect to a Laserfiche Cloud repository.
Make note of your Laserfiche Cloud repository ID. The repository ID is usually in the following format:
r-xxxxxxxx
The repository ID can be found on the Plan page in Account Administration.
- Locate the config.json file in the CMIS Gateway installation directory and open the file with a text editor. By default, the file is located at C:\Program Files\Laserfiche\CMIS Gateway.
- Set the server and name key values according to your repository ID and data center location in the following formats:
- United States data center: r-xxxxxxxx.laserfiche.com
- Canadian data center: r-xxxxxxxx.laserfiche.ca
- European data center: r-xxxxxxxx.eu.laserfiche.com
- Set the id value to the repository ID.
- Set the thinClientUrl value according to your repository ID and data center location in the following formats:
- United States data center: https://app.laserfiche.com/laserfiche/browse.aspx?repo=r-xxxxxxxx
- Canadian data center: https://app.laserfiche.ca/laserfiche/browse.aspx?repo=r-xxxxxxxx
- European data center: https://app.eu.laserfiche.com/laserfiche/browse.aspx?repo=r-xxxxxxxx
- See the following sample config.json file:
{
"repositories": [
{
"server": "r-xxxxxxxx.laserfiche.com",
"port": 443,
"name": "r-xxxxxxxx.laserfiche.com",
"id": "r-xxxxxxxx",
"ssl": true,
"description": "Sample Description",
"authentication": [ "basic"],
"rootFolderId": 1,
"thinClientUrl": https://app.laserfiche.com/laserfiche/browse.aspx?repo=r-xxxxxxxx
}
]
}
Replace all the example "r-xxxxxxxx" values with your Laserfiche Cloud repository ID.
- Save your changes to the config.json file.
- Recycle the CMIS application pool (CMISAppPool in IIS).