Skip to main content

Data page types

Suggest edit
Updated on November 15, 2021

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).

Did you find this content helpful? YesNo

Have a question? Get answers now.

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

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