CMDBuild Forum

A query about differentiating CMDBuild instances

Hi there,
I’m new but have managed to spin up a few instances as I build my data model (and understand the implications)! I’ve tried to keep an empty ‘dev’ database that only holds the schema elements, and a test instance where I’m importing my records. We historically had a CMDB of sorts but had to stop using the product, so I’ve got an unholy mess of spreadsheets as the intermediary format which I import the data for and then import the relationships of. It’s rather messy, but I’m almost at the point of productionising it.

Because of all this I’ve got a couple of parallel installs of CMDBuild within the same tomcat host and I’d love a way to differentiate them cosmetically…

I’ve found an awful .CSS hack to change the card colours which is …pretty ugly, but suits the dev and test environments, at least (and I plan to leave prod well alone).
I’ve spent a day fighting to get the web page titles changed and stubled across the Instance Name value in the system config - that’s perfect!

I saw elsewhere a query about a theme, which I guess is what I’m really coming around to - whether or not these can be exposed as variables in the system configuration, but I gather that’s not ready yet and arguably not on any roadmaps. Would it be feasible to have a base colour value configured in the System Config that the cards and main headers were based off (the background-color)?

I guess a supplimentary question is: Can I programmatically change the instance name value via something like cmdbuild.sh setconfig?

I’ve got a whole post-restore script to relink my LDAP bind details and whatnot which is instanct/environment-aware, so it’d be snazzy to automate the instance name value…

I’m a complete doofus - there’s an instance name option in the system config that appears in the header of each page (as well as affecting browser tab titles) beside the company logo!