Data Page

Post on 06-Jul-2018

218 views 0 download

transcript

8/16/2019 Data Page

http://slidepdf.com/reader/full/data-page 1/12

Data PageA data page (formerly "declare pages") rule defines the contents of a clipboardpage.

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

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

The name of a data page starts with the prefi! D or Declare .

8/16/2019 Data Page

http://slidepdf.com/reader/full/data-page 2/12

#age $ To create a data page containing a single ob%ect of the type specified below.&ist To create a list type data page containing multiple ob%ects of the type specifiedbelow.

Types of Data Pages

Mode/ Scope of Data Pages

'ode $ Any requestor e!ecuting on the current node can access the pages.Thread $ The page is created in a single requestor Thread and can be accessed asoften as needed by processing in that Thread. &ater accesses on another threadcausethe data page to load a distinct page which may have different contents even if it isby the same requestor.

equestor $ The requestor can access the page(s) loaded across all threads. Accessesby separate requestors create distinct pages which may have different contents.

ead * +rite pages all have Thread or equestior scope.

8/16/2019 Data Page

http://slidepdf.com/reader/full/data-page 3/12

How To access Data Pages

,lic- Designer Studio > Data Model > Clipboard Pages > Data Pages tolist data pages used by the current application.

8/16/2019 Data Page

http://slidepdf.com/reader/full/data-page 4/12

Create a New “Data Page”

clic-ing /anage and then,reate new data pagein the Data 0!plorer.

,reate a data page rule byselecting Data #age fromthe Data /odel category inthe ecords 0!plorer.

8/16/2019 Data Page

http://slidepdf.com/reader/full/data-page 5/12

,omplete the basic definition page

Select an option to set whocan access the pages

loaded by this datapage record1

Select Structure of thedata page

The list of options variesaccording to whether youset the page structure to#age or &ist.

Select ead 2nly or 0ditable

8/16/2019 Data Page

http://slidepdf.com/reader/full/data-page 6/12

,lic- on save and test through Action unAnd chec- the clip board page

,lipborad page will contain all thereturn result from Source.3ere source is 4 eport Definition5

8/16/2019 Data Page

http://slidepdf.com/reader/full/data-page 7/12

Linked Properties

A linked property is a Single 6alue te!t property that has values that are e!pected toe!actly match the -ey of an instance of a concrete class

7n certain user interface and other rule configurations lin-ed properties can improveperformance and eliminate the need to create a special purpose activity.

The lin- relationship is defined on the 8eneral tab of the #roperty form.

8/16/2019 Data Page

http://slidepdf.com/reader/full/data-page 8/12

if a wor- ob%ect contains a property E p!D with values that e!actly correspond to an2perator 7D it could be made a lin-ed property.

,reate 'ew &in-ed #roperty

8/16/2019 Data Page

http://slidepdf.com/reader/full/data-page 9/12

Thereafter references to properties of an operator 7D in the form.E p!D"pyLastNa e or . E p!D"py#irstNa e are available in sectionsactivities and most other rule types.

8/16/2019 Data Page

http://slidepdf.com/reader/full/data-page 10/12

At runtime the property value automatically retrieves the ob%ect of the target classwhenever a reference to properties in the target class are needed.

&in-ed properties can only be used in 4 ead 2nly5 mode

8/16/2019 Data Page

http://slidepdf.com/reader/full/data-page 11/12

These retrieved pages are retained in a cache improving performance and are visibleon the clipboard. &in-ed property operations can be recorded by the Tracer tool.

8/16/2019 Data Page

http://slidepdf.com/reader/full/data-page 12/12

9ou can use lin-ed property references as read only sources of a value in certain placesin many rule types &i-e in

Activities (and in specific methods),onstraints rules,orrespondenceData transforms (Set action)Declarative rules (most)Decision tables and decision trees3arnesses

eport definitions

The lin-ed property pages on the clipboard are temporary.