Question
VIRTUSA
IN
Last activity: 21 Nov 2019 7:38 EST
What is the difference between usage of Parameters and Keyed pages in Data Pages ?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
IN
Hi,
The below link might be helpful to understand better on the difference between usage of Parameters and Keyed pages in Data Pages
Thanks,
Geeda.
BPM Company
NL
With keyed page you have all results in memory. And later you could get a value using a key.
Parameter in a page is using to fetch the exact, filtered data from source.
Example:
1. Keyd page:
1.1 Get a list D_List => [a,b,c,d,e,f] (these values will be persisting in memory for the whole lifecycle of the data page)
1.2 Now get D_List with key=1 (index) => D_List[1] = a
2. Parametrized page:
2.1. Get D_List with param=1 (index of the list) => D_List[1] = a
2.2. Get D_List with param=2 (index of the list) => D_List[2] = b (every time, only fetched values will be persisted in memory)
-
SnehaLatha Siruvuri JIAO HE
VIRTUSA
IN
Hi, Thanks for your reply on my question, I understand the concept of Keyed pages in data page and differ with Parameters in data page.
We can define the keys in the keyed pages page list in the data pages. I have a question,
How we will going pass the values to keys defined in the data page when it is referred in some place?
Without keys visible in the referred place, how will going pass the values even though we defined in the data page ?
I have seen keys when we try refer data page to a page property or page list property, but when i was tried to refer data page as a source to a dropdown I don't see any keys defined in the data page as like parameters. Why it is not on the dropdown ?, even I have verified it in the embedded section with data pages, even it that place also I don't see keys defied in the data page. Please find the screen shot attached.
-
Thangaraju Sindhuja
Accepted Solution
Pegasystems Inc.
IN
Hi,
The below link might be helpful to understand better on the difference between usage of Parameters and Keyed pages in Data Pages
Thanks,
Geeda.
Pegasystems Inc.
IN
Hi Chiranjeevi,
Thanks for posting the query. PFB detailed explanation of keyed data pages and parameterized data pages
Keyed page access:
For list-structure data pages, you can allow read-only access to embedded pages in the data page by using any properties as the key.
Select the Access pages with user defined keys check box to allow read-only access to individual objects in the list based on the value(s) provided for the key(s) specified in the Page List Keys field.
Select the Allow multiple pages per key check box if the keys are not unique across objects in the list. This provides read-only access to a list of objects that match the value(s) provided for the key(s) in this case.
This is what the documentation for the Keyed Page access specifies for the Data Page List.
Parameter Data Pages:
Each time that you reference a data page with different parameters, an instance of the data page is created on the clipboard. You can have multiple instances of a data page on the clipboard, each one created by a reference with different parameters from the others, or, if you have checked the Limit to a single data page check box on the Load Management tab, each new reference to the data page creates an instance of the data page that overwrites any existing instance.
Hi Chiranjeevi,
Thanks for posting the query. PFB detailed explanation of keyed data pages and parameterized data pages
Keyed page access:
For list-structure data pages, you can allow read-only access to embedded pages in the data page by using any properties as the key.
Select the Access pages with user defined keys check box to allow read-only access to individual objects in the list based on the value(s) provided for the key(s) specified in the Page List Keys field.
Select the Allow multiple pages per key check box if the keys are not unique across objects in the list. This provides read-only access to a list of objects that match the value(s) provided for the key(s) in this case.
This is what the documentation for the Keyed Page access specifies for the Data Page List.
Parameter Data Pages:
Each time that you reference a data page with different parameters, an instance of the data page is created on the clipboard. You can have multiple instances of a data page on the clipboard, each one created by a reference with different parameters from the others, or, if you have checked the Limit to a single data page check box on the Load Management tab, each new reference to the data page creates an instance of the data page that overwrites any existing instance.
Subsequent references to a data page using parameters that result in a reference to an existing instance of the data page on the clipboard refer to that existing data page unless the conditional refresh strategy indicates the page should be reloaded on each reference.
Note: Report definitions cannot reference data pages that themselves take parameters (such as D_page1[param1:D_page2[param2:Param.P1],param2:pxRequestor.pyUserIdentifier].pyLabel) to populate columns, although they can directly reference properties in a data page (such as D_page1.companyName).
Hope this explanation will help you to understand both the concepts in data pages.
VIRTUSA
IN
Hi, Thanks for your reply on my question, I understand the concept of Keyed pages in data page and differ with Parameters in data page.
We can define the keys in the keyed pages page list in the data pages. I have a question,
How we will going pass the values to keys defined in the data page when it is referred in some place?
Without keys visible in the referred place, how will going pass the values even though we defined in the data page ?
I have seen keys when we try refer data page to a page property or page list property, but when i was tried to refer data page as a source to a dropdown I don't see any keys defined in the data page as like parameters. Why it is not on the dropdown ?, even I have verified it in the embedded section with data pages, even it that place also I don't see keys defied in the data page. Please find the screen shot attached.