A data page (earlier called as Declare pages ) rule defines the contents of a clipboard page.
KEYED PAGE ACCESS is a feature which allows the user to retrieve the results faster. This has been introduced in PRPC 7.1.
This feature is supported only for LIST structure READONLY datapages
On definition tab check the
Access pages with user defined keys to implement this feature.
The user can retrieve the results based on single key or by defining multiple keys.
If multiple keys are defined, then the results retrieved/returned is an AND operation of all the keys defined.
Note: The key value applied is case sensitive.
Allow multiple pages per key
Check this checkbox, if the keys are not unique on the list of data (duplicate rows for the same key), the user can retrieve multiple rows/pages for key(s).
How to use/invoke this KEYED PAGE ACCESS datapage:
This can be invoked/referred only through autopopulate properties
The data page retrieves all the records. the keys are applied only through auto populate property.
Ex:
Create a data page with the following.
2. Create an auto populate property refering to a datapage as shown below.
The Keys field can be provided with the following values.
1. Constant value as shown above.
2. Can refer to another property.
3. Can have self reference property(.
DemoKeyedPageAccessAutoPop.pyOrgUnit)
3. Refer the above created property in a section. Include a repeating layout and configure as shown below.
4. Now refer the above section in a flow and the result will be as shown below.
Clipboard structure for the data page. The data page has retrieved all the records.
Clipboard structure for the auto popualte property.
The auto population of the data occurs only when properties of the datapage are refered. In our case we are refering the data page properties pyUserIdentifier, pyOrgUnit, pyOrganization.
The DemoKeyedPageAccessAutoPop property we created is a reference type property. This establishes a reference to the data page, The property shows reference information in the clipboard.