Library version history
The Spotfire library provides the ability to keep old versions of files in the library, so that you can easily revert to an older version of a file, if something goes wrong.
When your library contains large files, for example, analysis files with embedded data, or files that are updated often, you might want to manage the number of versions of the file that are kept.
You can enable automatic version pruning to limit the number of unnamed versions of the library items to keep in the library. New versions are unnamed by default, and the oldest unnamed versions are removed automatically when the configured limit is exceeded. Named versions are not counted against the limit and are not automatically deleted. You can define a system-wide default and override it for specific library items. To configure automatic version pruning, see Configuring automatic pruning of library versions. To override the limit for a specific library item, see Changing version history settings for a library item.
There are plenty of opportunities to fine-tune your settings to make sure the size of your Spotfire library is kept on a reasonable level. See Deleting old versions of files in the library and Configuring automatic pruning of library versions and Deleting library item versions using the command line for more information.
- Reverting to a previous version of a file
If an analysis or other type of file has become corrupted when it was modified, you can use the versioning functionality in the library to revert to a previous version of the file. You can also look at previous versions to review the library version history of a file. - Deleting old versions of files in the library manually
If your library grows too much, you can delete all, or some, old versions of a file using the commanddelete-library-versions. Single old versions can also be deleted directly from the Library user interface. - Configuring automatic pruning of library versions
As an administrator, you can enable automatic pruning and specify a maximum number of unnamed versions to keep for library items. - Changing version history settings for a library item
You can enable or disable version history for a specific library item and control how many unnamed versions are kept. - Adding a name or description to a version
When library version history is enabled, you can name a specific version, or add a comment to it, to easily determine the content or status of that particular version of a file. - Switching off library versioning
A new version of all items is by default kept each time an item 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 setlibrary.versioning.enabledtofalseto disable library versioning completely. You can also choose to exclude certain item types only. - Spotfire item types
There are a number of different types of items available in the Spotfire library. They can be referred to in certain configurations, and they can also be used as arguments in different commands.
- Reverting to a previous version of a file
If an analysis or other type of file has become corrupted when it was modified, you can use the versioning functionality in the library to revert to a previous version of the file. You can also look at previous versions to review the library version history of a file. - Deleting old versions of files in the library manually
If your library grows too much, you can delete all, or some, old versions of a file using the commanddelete-library-versions. Single old versions can also be deleted directly from the Library user interface. - Configuring automatic pruning of library versions
As an administrator, you can enable automatic pruning and specify a maximum number of unnamed versions to keep for library items. - Changing version history settings for a library item
You can enable or disable version history for a specific library item and control how many unnamed versions are kept. - Adding a name or description to a version
When library version history is enabled, you can name a specific version, or add a comment to it, to easily determine the content or status of that particular version of a file. - Switching off library versioning
A new version of all items is by default kept each time an item 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 setlibrary.versioning.enabledtofalseto disable library versioning completely. You can also choose to exclude certain item types only. - Spotfire item types
There are a number of different types of items available in the Spotfire library. They can be referred to in certain configurations, and they can also be used as arguments in different commands.