Switching off library versioning
A new version of all files is by default kept each time a file is
updated in the library. As an administrator, you have the option to switch off
version history for your Spotfire environment. Use the command line
configuration tool and set
library.versioning.enabled
to
false
to disable library versioning completely. You can
also choose to exclude certain item types only.
About this task
About this task
Use the following command to switch off library versioning:
config set-config-prop --name="library.versioning.enabled" --value="false"
Use the following command to disable library versioning for specific types of items (the example uses sbdf files and mods):
config set-config-list-prop --name="library.versioning.disabled-types" --item-name="type" -Vspotfire.sbdf -Vspotfire.mod
A Spotfire Analyst author can switch off library versioning for a specific analysis file from the Document Properties dialog, using the Keep older versions of this file when saving check box on the Library tab in the installed client.
As a library administrator, you can change the default item property setting for all analyses in the library from having versioning on for all analyses by default to be off by default, and let the analysis authors specifically enable it for the most important analyses only.
Use the following command to change the default setting for analysis files not to keep older versions by default:
config set-config-prop --name="library.versioning.enabled-by-default" --value="false"
Server configuration example
The following is an example of a server configuration where the library versioning is enabled, but Spotfire mods have been listed as disabled-types:
<configuration>
<library>
<versioning>
<enabled>true</enabled>
<disabled-types>
<type>spotfire.mod</type>
</disabled-types>
</versioning>
...
</library>
...
</configuration>
See Spotfire item types for a list of available types.