Display multiple record from datapage
Hello@PRASATHS16812183
When you say display multiple records from data page, are you referring to List type data page where you want to show view like table You can have a table with data page as source to it
For retreving the data from the data table data pages is the best method. We need not to create the data pages when you first access the data table pega will automatically creates the data pages
For List Type Data Pages:
Approach1:You can use repeating grid in the section with Source as Data Page. Once the Repeating grid is configured with Data Page then you can add all the properties in that data class/ hierarchy class as columns in the Repeating Grid. When the section is displayed on the UI Data Page will be triggered and data will be displayed to User.
Approach2: Using Repeating Dynamic Layout. Create a section in the data page data class and specify all the properties in that section. Now for Repeating Dynamic Layout source Data Page and specify the section name in section. Data will be displayed on the UI.
For Single Page Data Pages:
If its single data page instead of list then just create a section in the data class of data page and specify all the properties in that section. Now in the main section drag and drop sections from configs and select the source as Data Page and specify the class of data page and give data page name and section. In run time data page will be invoked and all the properties which have data on the data page will be displayed with values on the UI.
Thank You!