Table of Contents

Java methods for dynamic system settings and application settings


Only available versions of this content are shown in the dropdown

Some dynamic system settings instances are created automatically during installation or upgrade of a Pega Platform system. However, your application can also create, set, or query instances of this class using Java methods in the PublicAPI PRSystemSettings interface.

Java methods you can use include:
  • string getDynamic(OwningRuleSet, SettingKey) — Returns the dynamic system settings value currently associated with the supplied key.
  • boolean setDynamic(OwningRuleSet, SettingKey, newvalue) — Updates the value of an existing dynamic system settings value.

The PublicAPI PRSystemSettings interface also lets your application query the application settings rule type (Rule-Admin-System-Settings).

  • string get (OwningRuleSet, SettingKey) — Uses rule resolution to find an application settings rule (Rule-Admin-System-Settings rule type) to return its value.
Did you find this content helpful?

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.