Declare Pages form
|
|
Complete this tab to define the type, class and scope of the declarative page or pages created by this rule, and how they are refreshed.
Field |
Description |
Page Definition | |
Page Type |
Select
A |
Page Scope |
Select to determine the scope of requestors that can access the declarative pages created by this rule:
|
Page Class |
Select the class of the top level page to be created. Typically, select Code-Pega-List if the page is to store a list of other pages, such as produced by a report or the Obj-List-View method. However, a declare page may be of any class. |
Page Structure |
Select:
|
Data Source |
Identify the source of data for the page. Select:
The form changes to reflect your selection. |
Load Activity |
Optional. Select to Identify the Activity Name key part of an activity that the system uses to create and update (refresh) declarative pages. At runtime, the system uses the value in the Page Class field as the Applies To key part to find the activity with rule resolution. Select an activity that has If the Page Scope field is set to At runtime when searching for this activity, rule resolution excludes checked-out rules in a personal RuleSet. The system selects and executes the current checked-in version. |
Report Definition |
Optional. Select to identify the key parts of a report definition that the system uses to create and update (refresh) declarative pages, as an alternative to a load activity. If you select this option, enter Code-Pega-List in the Page Class field. |
Report Definition Class |
Optional. This field appears when you select Report Definition as the source. Enter the Applies To key part of a report definition. |
Report Definition |
This field appears when you select Report Definition as the source. Enter the Report Name key part of a report definition. |
Params |
If the activity or report definition accepts input parameters, click Params and enter literal constant values or property references as parameter values. To reference a property value, enter the fully qualified reference, starting with a top-level page name. In addition, Include the name and class of clipboard pages you reference here on the Pages & Classes tab of this rule form. |
Connector Type |
These fields appear when you select Connector as the Data Source. Select the type of connector. |
Connector Class Name |
Enter the first key part of the connector, the Applies To class. |
Connector Name |
Enter the final key part of the connector, such as the Service Name field for SOAP connectors, or the Request Type field for SQL connectors. |
Requestor Data Transform |
Specify a data transform that supplies initial values for properties or parameter values referenced in the connector rule. If you select the List checkbox, reference a data transform rule in the Code-Pega-List class. If your connector rule does not require such initial parameters, create a dummy data transform that makes no changes (for example, sets .pyLabel to .pyLabel). |
Response Data Transform |
Optional. Specify a data transform rule to be executed after the connector response is received. |
End Point URL |
Optional. If the Connector Type is Connect HTTP, Connect REST, Connect SOAP, or Connect dotNet, you can override the End Point URL value in the rule with a value here. |
Access |
Appears for Connect SQL rules only. Enter the second (middle) key part (Package Name) of the Connect SQL rule. |
List |
Appears for Connect SQL rules only. Leave unselected to cause the system to execute the Connect SQL rule with the RDB-Open method, using information in the Open tab of the Connect SQL rule. Select to cause the system to execute the Connect SQL rule with the RDB-List method, using information in the Browse tab of the Connect SQL rule. |
Max Records |
Optional. Appears for Connect SQL rules only when the List checkbox is selected. You may enter a positive integer to limit the number of rows returned from the RDB-List method. |
Data Transform Name |
This field appears when you select Data Transform as the Data Source. Select a data transform that is the source of the data for the page. Click Params to enter parameter values. |
Load this Page Asynchronously |
Select to load this page asynchronously. Asynchronous declare pages, when included in defer loaded sections, enable non-blocking user interfaces in which users can take action on a work item while other content is still being loaded. If you selected Load Activity as the Data Source for the ADP, include all pages used by the Load Activity in the Pages & Classes tab of the Declare Page form. For more information, see PDN How to configure non-blocking UI using Asynchronous Declare Pages (ADP). |
Load Activity Authorization | |
Access Group |
Select an access group that provides temporary access to the RuleSets and versions needed to access the load activity, report definition, data transform, or connector. This field appears only when the Page Scope is set to The requestor that executes uses this access group only during execution of the activity, report definition, data transform or connector. RuleSets made available by this access group may not be available to the requestor at other times. |
Conditional Refresh Strategy |
The load activity, report definition (or other load mechanism) executes the first time any requestor within the scope ( Optionally, you can define one or two criteria (Refresh if Older Than and Page is Fresh When) that can cause the system to delete the declarative page or pages and rerun the load mechanism, creating the page or pages again with possibly fresher contents. These two criteria are ignored if the Refresh Once Per Interaction checkbox is checked. |
Refresh if Older Than |
Optional. Enter positive integers in one or more of these fields to define an expiration time interval in days, hours, minutes, and seconds. If not blank, any attempt by a requestor to access the page after a period of no accesses equal to or greater than the timeout causes the system to refresh the page. However, the page is never refreshed more than once per user interaction. |
Page is Fresh When |
Optional. Identify the When Name key part of a when condition rule to be evaluated when a requestor accesses a page with a Page Scope of If the when condition rule evaluates to false, the page contents are refreshed. ( However, the page is never refreshed more than once per user interaction.) To find this rule at runtime, rule resolution uses the class in the Page Class field as the Applies To class, and the RuleSet list of the requestor. This field appears only when the Page Scope is set to |
Refresh Once per Interaction |
For accesses to the declare page from an interactive browser requestor, check to cause rule the system to refresh exactly once per user interaction. This option is available only for rules with Page Scope set to For Thread-scope pages, determine the refresh strategy carefully, especially if your refresh operation is costly in terms of elapsed time or use of system resources. This involves a trade-off of possibly stale data versus additional processing. For example, refreshing upon each interaction may introduce avoidable extra processing if once-per-hour is good enough. But in a high-frequency access situation, refreshing once per minute may be less often (and so less costly) than once per interaction. |