A global resource setting is a property value on a declarative page that is referenced through a special syntax on a connector rule, or a data instance that supports a connector.
Use of global resources settings rather than fixed text values in rule forms allows greater flexibility in changing such values as port numbers, addresses, URLs, and similar values. See Pega Developer Network article PRKB-24171 How to reduce maintenance of service rules and listeners with global resource settings.
Your system includes several Embed-Env- classes and associated standard properties that you can use as global resources settings. These are provided only as a convenience; a global resource setting may reference any property of the appropriate type on a declarative page.
As an example, the standard declare pages rule PegaSample-Env.Declare_SampleResSettings creates a declarative page that holds three standard Page mode properties pyConnectEJB, pyConnectMQ and pyConnectSOAP. Through an activity and a model, these supply values for a declarative page named Declare_SampleResSettings. (To experiment with this non-working sample, your application can override the model.)
These standard rules illustrate the syntax for referencing a global resource setting:
Don't confuse global resource settings with dynamic system settings (Data-Admin-System-Settings class) or system settings rules (Rule-Admin-System-Settings rule type).
circumstance, declarative page, production level | |
Using
the Global Resource Settings feature
Fields that support Global Resource Settings |
|
Atlas — Standard classes derived from the Embed- base class |