Dynamic system settings
As a best practice, set system configuration settings by using dynamic system settings data instances. For example, you can use a dynamic system settings to configure which fields are available in full-text search. Dynamic system settings are stored in the Pega Platform database and are used by all nodes that share that database.
The rule and data instances listed below have similar names, but they are not related. Use System settings rules to hold important constant values in your application that are the same in every deployed copy of your application. Use Dynamic System Settings when the values differ from site to site, such as with URLs, user names, or port numbers, and when they might be set programmatically.
- System settings rules ( Rule-Admin-System-Settings rule type)
- Dynamic Systems Settings data instances ( Data-Admin-System-Settings )
- Setting rules ( Rule-Access-Setting rule type)
- You can change the value of Dynamic System Settings without redeploying the application. Editing the prconfig.xml file requires redeploying the application.
- In a multi-node system, the same Dynamic System Settings can be used by all the nodes that are sharing the database, making system administration easier.
-
Dynamic System Settings can only override prconfig.xml settings when your Pega Platform database is configured to retrieve its data using JNDI, and the prconfig.xml file for a given node has the following setting:
<env name="initialization/settingsource" value="merged" />
. See the appropriate deployment guide for your system for information on configuring JNDI in the context.xml file.