Using data pages
Pega Platform provides various ways in which you can use data pages. For example, use an API to query a data page to build a custom UI or display a read-only list of job openings available in a job posting case.
Data pages provide the flexibility you need to retrieve data for your specific use case. To learn how to use data pages based on your business requirements, see the following topics:
- Data page reference
Rules can reference data pages directly or by using auto-population properties to obtain quick access to data.
- Data pages and parameters
Parameters can be passed to data pages from several sources:
- Using data pages in forms
Use data pages to present information to end users on forms. Data pages make it easy to access and load data on demand.
- Identifying data pages with the Live Data tool
Use the Live Data tool to view information about the data pages that make up your screen. By learning the details of the data pages in your UI, you can understand how a UI element works to develop a similar feature or to fix a bug.
- Using data pages in a case life cycle
Use data pages to access and use data that is not directly stored in your case. As a best practice, you can associate a data page with a data reference to capture the connection between your case and a data page. By connecting a data reference with a data page, you make your application easier to maintain. For example, you can view the data model to understand the relationships between each case and data object and quickly find which fields you want to reuse.
- Data page errors in a case life cycle
Help users resolve data page errors that they might encounter while they run a case. For example, you can present users with error messages that quickly guide them to a resolution with minimal disruption to the case.
- Using data pages with the Pega API
Pega Platform provides data APIs to query data pages or to retrieve specific parameters from a data page. Use the data APIs to get the data required to develop your application, for example, if you are building a custom UI.
- Loading data pages asynchronously
Enable users to take action on a work item while the system is loading other content by configuring data pages to load asynchronously. When users are able to continue interacting with a case while data is loading in the background, productivity increases and application efficiency is improved.
- Using a data page with integrations that have complex input
You can use data pages to integrate APIs that contain complex input with Pega Platform. Data pages accept objects with scalar inputs, such as a Customer object with inputs for Name, Address, and City.
- Removing a data page
Cause a data page to refresh the next time it is accessed by removing or forcibly expiring the data page.
Previous topic Robotic automation status and error handling Next topic Data page reference