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 PDN article 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 Data Page rule PegaSample-Env.Declare_SampleResSettings creates a data page that holds three standard Page mode properties pyConnectEJB, pyConnectMQ and pyConnectSOAP. Through an activity and a data transform, these supply values for a declarative page named Declare_SampleResSettings. (To experiment with this non-working sample, your application can override the data transform.)
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, data page, production level | |
Using the Global Resource Settings feature
Fields that support Global Resource Settings |
|
Atlas — Standard classes derived from the Embed- base class |