Back Forward About Declare Pages rules

Technical category
New Definition Advanced Pages & Classes History More...

Purpose

Use a declare pages rules to define the contents of a clipboard page that is to be available in read-only mode to multiple requestors in your application. For example, a page may contain daily prices for a set of commodities, bonds, or currencies, an organization chart, or quantity-on-hand inventory data extracted hourly (rather than in real time on-demand) from an external system. PROJ-359 5.3 MIRAT These pages can be "global", available to all requestors on a node.

Pages created by declare pages rules are called declarative pages.

Where referenced

Many rule types can reference the pages created by declare pages rules, and the properties on such pages; they do not explicitly reference the rule.

Use the Declared Pages gadget (Pega button> Data Model > Clipboard Pages > Declared Pages to list declared pages used by the current application. See Data Model category — Clipboard Pages page.

Declarative pages are created only when requested — the first time a requestor attempts to access a property value on the page. Each page created and maintained by a declare pages rule has a name that starts with the prefix Declare_. Rules of any type that can reference properties on pages other than the current or primary page — including activities, decision rules, parse rules — can reference properties on these pages in a read-only or "right-hand" context. Typically, the rule form identifies the name and class of a declarative page on the Pages & Classes tab.

On the Advanced tab of the Property form for a Page List or Page Group property, you can reference a Declare Pages rule that auto-populates the property with values. GRP-498

Access

Use the Application Explorer to view Declare Page rules that are part of your current application. Use the Rules Explorer to list all the Declare Page rules the you may access.

Category

Declare Pages rules are instances of the Rule-Declare-Pages class. They are part of the Technical category. 5,.3

Definitions declarative page, node
Related topics Understanding page name and reserved pages
Standard rules Atlas — Standard Declare Pages rules

Technical category
Help System home pageHelp Home