Skip to main content


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

Turning on data source simulation

Updated on November 23, 2022

If your data source is unavailable, you can continue to develop and test applications by turning on simulation for the data view (data page).

When you create a data object and do not configure a data source for it, the data source does not have any defined data views. When you are ready to define data sources for the data object, you can choose to create simulated sources. If you use simulated sources, the system creates both single (read-only) and list data views, with the appropriate simulated data source in each data view. This option is useful when you are uncertain about the details of the eventual sources, or if the endpoints are not yet available and you want to start using the data object in application development.

When you create a simulation for a data object that has a data source already configured, the system bases the type of simulation on the type of data source and creates either a single or list data source.

If you create a simulation for a data object that has an aggregate source configured, the simulation applies to the entire aggregate source. You cannot simulate the individual sources within the aggregate source.

  1. In the navigation pane of App Studio, click Data.
  2. Click Data objects and integrations.
  3. Click the data object for which you want to simulate a data source.
  4. Click Data views.
  5. Perform one of the following procedures:
    Note: If you modified your data page in Dev Studio, you might have multiple data sources. If the data object has more than one data source, select the data source that you want to simulate.
    • If a data object has both a data source and a simulation configured:
      1. Click MoreToggle simulation.
      2. In the Data Source Simulation Status window, click Close.
    • If a data object does not have a data source configured, for example, you chose to define your data source later:
      1. Click Create simulated sources.
      2. Click OK.

        Data views are displayed with an undefined, simulated source.

      3. Optional: You can define a source by choosing one of the following options, and then following the prompts:
        • Click MoreToggle Simulation.
        • In the Source column, click Replace source.
    • If a data object has a data source configured but does not have a simulation configured:
      1. Click MoreToggle simulation.
      2. In the Data Source Simulation Status window, click Close.
What to do next: Click the Records tab to add sample records to define the data that populates the fields in your data object. Turn off the simulation and connect to your actual data source when it becomes available.

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