Turning on data source simulation

If your data source is not available, you can continue developing and testing 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 data views defined. When you are ready to define data sources for the data object, you can choose to create simulated sources. If you use simulated sources, both single (read-only) and list data views are created, with the appropriate simulated data source in each data view. This option is useful when you are not sure 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 type of simulation is based on the type of data source, and either a single or list data source is created.

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 simulate a data source.
  4. Click Data views.
  5. Perform one of the following procedures:
    • If a data object has both a data source and a simulation configured:
      1. Click More > Toggle simulation.
      2. If the data object has more than one data source, select the data source that you want to simulate.
    • If a data object does not have a data source configured:
      1. Click Create simulated sources.
      2. Click Ok.
    • If a data object has a data source configured but does not have a simulation configured:
      1. Click More > Toggle simulation.
      2. If there is more than one data source, select the data source that you want to simulate.
      3. Click Create.
What to do next: The Record Editor is displayed where you can add fields to the data model, if necessary, and add sample records. Turn off the simulation and connect to your actual data source when it becomes available.