Problem:
I want to turn on library versioning for analysis files (DXP) only.
Resolution:
You must first turn on library versioning for all item types, then turn off for all item type other than DXP. Follow the instruction below.
1. Login to Spotfire Server as admin.
2. Open command prompt and run the following command.
cd "<Spotfire-installation-directory>\tomcat\spotfire-bin"
- Spotfire 12.0 LTS or lower: C:\tibco\12.0.0\
- Spotfire 14.0 LTS or higher: C:\spotfire\spotfireserver\14.0.1\
3. In the same command prompt, run the following command one by one. When prompted for password, enter the password of Spotfire Server Configuration Tool.
config export-config -f
config set-config-prop --name="library.versioning.enabled" --value="true"
config set-config-list-prop --name="library.versioning.disabled-types" --item-name="type" -Vspotfire.folder -Vspotfire.filter -Vspotfire.join -Vspotfire.procedure -Vspotfire.query -Vspotfire.datasource -Vspotfire.column -Vspotfire.datafunction -Vspotfire.dxpscript -Vspotfire.colorscheme -Vspotfire.connectiondatasource -Vspotfire.dataconnection -Vspotfire.sbdf -Vspotfire.analyticmodel -Vspotfire.asjob -Vspotfire.mod
config import-config -c "Enabled library versioning for DXP only"
4. Restart the Spotfire Server service.
Reference: Spotfire® Server and Environment - Installation and Administration > Spotfire item types