Skip to main content

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

Adding a user page to the clipboard

Updated on November 15, 2021

Quickly exercise your application logic in different scenarios by manually adding user pages in the Clipboard tool to mock the state of the application. For testing purposes, you can add user pages manually when your application is still in development. As a result, development efforts can continue in parallel rather than in sequence, which helps you deliver working software more rapidly.

For example, in an insurance claim case, you want to test a process that includes a Load data page step, but the case currently lacks a data model. In this situation, you can use the Clipboard tool to create mock pages to verify that the process runs correctly against a proposed model.
You add a user page during application development in the following situations:
  • To avoid building logic into your application that provides mock values for application validation.
  • To manually test your application against a data structure that is not available yet.

For relevant training materials, see the Clipboard data module on Pega Academy.

  1. In App Studio, navigate to an element that you want to test.
    For example: To test a case, in the navigation pane of App Studio, click Case types, click a case type that you want to open, and then click Save and run.
  2. In the footer of App Studio, click Toggle runtime toolbarClipboard.
    Result: The Pega Clipboard window opens. The navigation pane lists pages in memory that are associated with the selected thread.
  3. In the Thread list, select the thread in which you want to add a user page.
  4. In the navigation pane, right-click User Pages, and then click Add Page.
  5. In the Add New Page dialog box, in the Page Name field, enter a name for the new page.
  6. Optional: To create a list of properties based on a specific class, in the Page Class field, enter or select the class to which the user page belongs.
    Otherwise, the page that you create is classless.
  7. Optional: To provide values in the user page by using a data transform, in the Data Transform field, specify the data transform that supplies the initial values for the user page.
    For example: Set the value of a field to the name of a product, as shown in the following figure:
    Adding a user page with a data transform
    The Add New Page dialog box with the Page Name, Data Transform, and productID fields populated.
  8. If the data transform sends parameter values to the user page, click Get Params, and then enter the parameter values that you want to set in the appropriate fields.
  9. Click Submit.
What to do next: Manually set the values for particular properties. For more information, see Setting property values with the Clipboard tool.

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. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us