Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Pegadoc Day3

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 12

Datapage1

A data page (formerly "declare pages") rule defines the contents of a clipboard
page.

Data pages improve performance and reduce memory requirements when all or
many requestors in an application need to access information

Such pages are created and updated only through operations identified in a data
page rule. The contents of these pages are visible but read-only to requestors.

The name of a data page starts with the prefix D_ or Declare_.

Types of Data Pages

Page To create a data page containing a single object of the type specified below.
List -- To create a list-type data page containing multiple objects of the type specified
below.

Mode/ Scope of Data Pages


Node Any requestor executing on the current node can access the pages.
Thread The page is created in a single requestor Thread, and can be accessed as

often as needed by processing in that Thread. Later accesses on another threadcause


the data page to load a distinct page which may have different contents, even if it is
by the same requestor.
Requestor The requestor can access the page(s) loaded across all threads. Accesses
by separate requestors create distinct pages which may have different contents.
Read / Write pages all have Thread or Requestior scope.

How To access Data Pages

Click > Designer Studio > Data Model > Clipboard Pages > Data Pages to
list data pages used by the current application.

Create a New Data Page


Create a data page rule by
selecting Data Page from
the Data Model category in
the Records Explorer.

clicking Manage and then


Create new data page
in the Data Explorer.

Complete the basic definition page


Select Structure of the
data page

Select Read Only or Editable

Select an option to set who


can access the pages
loaded by this data
page record:
The list of options varies
according to whether you
set the page structure to
Page or List.

Click on save and test through Action > Run


And check the clip board page

Clipborad page will contain all the


return result from Source.
Here source is Report Definition

Linked Properties
A linked property is a Single Value text property that has values that are expected to
exactly match the key of an instance of a concrete class
In certain user interface and other rule configurations, linked properties can improve
performance and eliminate the need to create a special-purpose activity.
The link relationship is defined on the General tab of the Property form.

Create New Linked Property


if a work object contains a property EmpID with values that exactly correspond to an
Operator ID, it could be made a linked property.

Thereafter, references to properties of an operator ID in the form


.EmpID.pyLastName or .EmpID.pyFirstName are available in sections,
activities, and most other rule types.

At runtime, the property value automatically retrieves the object of the target class
whenever a reference to properties in the target class are needed.

Linked properties can only be used in Read Only mode

These retrieved pages are retained in a cache, improving performance, and are visible
on the clipboard. Linked property operations can be recorded by the Tracer tool.

You can use linked property references as read-only sources of a value in certain places
in many rule types Like in,

Activities (and in specific methods)


Constraints rules
Correspondence
Data transforms (Set action)
Declarative rules (most)
Decision tables and decision trees
Harnesses
Report definitions

The linked property pages on the clipboard are temporary.

You might also like