Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Data page types

Updated on February 7, 2022

Data pages are convenient sources of data for your UI. Learn about the types of data page structures to better understand how and when to use them.

When you source data for UI elements from data pages, you use Dev studio to select one of the following types of data page structures:

Page

A page structure is suited for passing data to a UI section for a single item. For example, you can reference a data page with the employee information of a single employee. The data page populates and is visible in a read-only section when a particular employee logs into the HR system. The employee login can be a value which the system uses to reference the right data page.

List
A list structure is suited to passing data to a UI section for many items. For example, you can configure a data page of the list type to populate an Autocomplete control with values for the employment type.

The data page embeds the list items in an ordered array, which is pxResults. To access a specific record within the list, you use the syntax DataPageName.pxResults(n), where n is the index of the ordered array that corresponds to the record. For example, when the record is on page seven, the syntax to use is DataPageName.pxResults(7).

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us