How do I configure "Versions"

Versioning if turned on allows you to edit an asset, upload a new 'version' (e.g. an updated logo), then save this. Now the latest version will be visible, and the older one hidden from view. Doing this is quicker than deleting the asset, then uploading a new one (as you would need to enter in the metadata again). It also allows you to see the history of an asset.

Configuration options for this functionality in the settings file are as follows (you can set 'true' or 'false' for each):

# Can versions of existing assets be created?
can-create-asset-versions=true

# Can previous versions of assets be edited or deleted?
can-edit-asset-versions=false

# Should there be an option to return previous versions of assets in a search?
allow-search-for-previous-versions=true

# Should the option to return previous versions of assets in a search be restricted to admin users only?
allow-search-for-previous-versions-admin-only=true

Settings File:

program files/Apache foundation/...(if using Windows)

<tomcat home>\webapps\asset-bank\WEB-INF\classes\ApplicationSettings.properties

(Note: Once the changes have been made you'll have to re-start the Asset Bank application for the change to be picked up.)


Was this article helpful?

Yes No

Thanks for your feedback!