Managing properties in the database using the manageProperties command line script

You can use the manageProperties command line script to manage properties in the database.

manageProperties command line script

The manageProperties script assigns value to a property or modifies the factory value of a property.

General usage: Shows information and general usage and inputs for the script. You can start here and use the inline help to work with the script.

manageProperties.sh

Aside from the general usage, you can use the command line script to perform specific tasks with the following modes.

Import mode: Imports the override settings in the system_overrides.properties and customer_overrides.properties files to the database. With this mode, you can update an existing BASE property only with an overridden value and user comment. If a property entry in the customer_overrides.properties file does not exist in the database, it is ignored during import.

Usage:

manageProperties.sh -mode import -file filepath -usercomment userComment

Edit mode: Assigns values to properties or overrides factory values.

Usage:

manageProperties.sh -mode edit -property propertyName -category category -override propertyOverride 
-overridename propertyOverrideName -value value -usercomment userComment

List and details mode: Lists the properties and displays property details.

Usage:

manageProperties.sh -mode details -property propertyName -category category 
Note: The manageProperties script does not support create or delete properties.