Multi-tenant configuration parameters

You can have some configuration parameters which are global for all the tenants, and some which are related to a given tenant. How can you do that? If you go to Administration > Configuration you are able to see an option in the top right corner called "Tenant configuration". If you click this option you will have access to these specific tenant configuration properties. By default it is empty, so you can only see an empty list.

By clicking the green plus icon you can create a new configuration property. For example, we are going to configure a different login image for each tenant. To do so, follow these steps:

  • Go to the desired tenant (Menu -> tenant)
  • Create a File property called logo.login and choose an image.
  • Create a String property called tenant.domain and write the domain used by this tenant.

To get this working, the tenant should be accessed via a specific domain. For example, imagine you have a tenant called "Floppy" and the server is configured to access the OpenKM instance using the domain floppy.okm-instance.com. In this case, the "tenant.domain" value should be "floppy.okm-instance.com". To create a different alias, you have to create the subdomain in your DNS server and make it resolve to the server's IP address. When OpenKM detects that it is being accessed via this domain, it will show the configured logo.login image.

The same applies to:

  • logo.favicon
  • logo.mobile
  • logo.report
  • logo.tiny

 

Table of contents [ Hide Show ]