Script parameters overview

PolicyCenter uses the ScriptParameters.xml configuration file as the system of record for script parameter definitions and their initial values. You can create script parameters only in Studio, by navigating to configuration > config > resources > ScriptParameters.xml. At the time of creation, Studio adds new script parameters to the ScriptParameters.xml configuration file. After creation, you manage the values of script parameters through the PolicyCenter user interface, not through Studio.

On server startup, PolicyCenter compares the list of script parameters that currently reside in the database to those in the ScriptParameters file. During the comparison, PolicyCenter does one of the following:

  • New script parametersPolicyCenter adds to the database new script parameters in the XML file that are not in the database. PolicyCenter propagates the initial values as set in the XML file to the database.
  • Existing script parametersPolicyCenter ignores existing script parameters in the XML file that already are in the database. PolicyCenter does not propagate changed values for existing parameters from the XML file to the database.

After a script parameter resides in the database, you manage it solely from the Script Parameters administration screen in the PolicyCenter administrative interface. You access the Script Parameters screen by first logging on with an administrative account, then navigating to Administration > Utilities > Script Parameters.

Important: After you create a script parameter in Studio, PolicyCenter ignores subsequent changes that you make to the parameter value. You must make all subsequent changes to parameter values in the Script Parameters administration screen of the PolicyCenter user interface.