Posted: 22 May 2018 10:51 EDT Last activity: 22 May 2018 21:38 EDT
Declare page vs Data Pages
In Upgrade project 6.3 to 7.3. Can we use the declare in PEGA 7.3? in our application, there are many pages populated(static data) from data table under one declare page and that are being used entire application so how can we use this same declare page in pega7? is this feasible? If yes, is this pega best practice to continue to use this declare pages in 7 version? or shall we go for data pages? again If yes , then we should again change the entire code where we are referring the d pages. Is there any easy way around to use data pages without code changes which has been made from data table to data type conversion and to create the data page?
Got error message "Java Exception: java.lang.UnsupportedOperationException:" if try to use the same declare page by using the RD of data type.
Declare page and data pages both are same. In 6x it is declare page where as in 7x it is data page. And in pega 7 it came up with additional features.
Here is an example, hope this helps you.
Let's say, I want to fetch the customer data from an external source and would like to use the fetched data in process of building my logic or to display the data in a form.
In the above scenario, in 6x, we usually refers the Declare page in the Pages & Classes tab, and then we apply a filter to get the data of the respective customer and then we will copy the data into other Page or what ever it may be based on the logic or the requirement demands.
But in 7x, we can have a Data page which brings the Customer Data from an external source and make it parameterized let's Customer unique ID.