LinkedIn
Copied!

Table of Contents

Configuring the refresh strategy for data pages

Version:

Only available versions of this content are shown in the dropdown

Define the parameters for refreshing the data page in Pega Platform. You can indicate that the data is no longer valid after a certain amount of time, or set your application to reload the page the first time a user interacts with it. The Refresh strategy section displays for read-only data pages.

  1. In the navigation pane of Dev Studio, click Records.

  2. Expand the Data Model category, and then click Data Page.

  3. Click the row of the data page that you want to open.

  4. Click the Load Management tab.

  5. In the Refresh strategy section, complete the following fields:

    1. For data pages with a scope of Thread or Requestor: To cause Pega Platform to refresh the page exactly once per user interaction, select Reload once per interaction.

      When selected, the system ignores any values in the Do not reload when and Reload if older than fields at run time.

      For Repeat Grids that have Reload once per interaction enabled, and that also use data pages as sources, triggering the Refresh List action removes the sorting order.
    2. Optional:

      To identify the when rule to be evaluated when a requestor accesses a page with a scope of Thread or Requestor, in the Do not reload when field, press the Down arrow key to select a when rule.

      If the when rule evaluates to false, the system refreshes the page content, but never more than once per user interaction.

    3. Optional:

      For data pages with a scope of Thread, Requestor, or Node: To indicate that the data page is refreshed only when the system makes an access request after the expiration time, and is never refreshed more than once per user interaction, in the Reload if older than section, enter values for days, hours, minutes, and seconds.

      For a reload time of ten minutes:
      • The system accesses the data page for the first time at 12:00. The data page loads because this is the first access.
      • The system accesses the data page for the second time at 12:08. The data page is not loaded, and the existing copy is returned.
      • The system accesses the data page for the third time at 12:11. The data page reloads because the time from the last reload at 12:00 exceeds the Reload if older than setting of ten minutes.
  6. Click Save.

Have a question? Get answers now.

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