Data sources
In this step, select the data source (or sources) that the survey object will be loaded from.
-
To add a property, click the New icon. The Select Properties dialog will open, with all valid properties available. Define values for all the required fields and click OK to add a data source. A data source can be of either a **Data objects **or SQL objects type. The way you configure these are different, but the name and threshold settings apply to both.
infoFor more information about data object and SQL object data sources, see the Data Sources section.
-
Define the threshold if you want to set a limit on the number of data objects returned from the query. This can be useful for testing purposes and for performance reasons.
infoWhen generating survey questions from an SQL data source, the questions are processed in parallel, which means that it is not possible to obtain the exact threshold value as stated in the survey template. If you wish to get an exact number of questions generated, you need to modify the SQL query for the data source(s) accordingly.
-
You can define Child object reference property that will be used to load child questions. When set, questions will be generated from the values of the selected reference property. The reference property must be limited to only load one data object type, either by selecting a specific data object type of the reference property, filtering the data object type of reference property view, or by limiting the types in access modifier. If not set, a standard survey will be generated.
ExampleIf the data source is for Resource data object types, it will be possible to select Child resources in order to include the child resources for each resource as survey questions.
-
To edit a data source, select the data source and click Edit icon. Alternatively, click the name of any data source to open the Edit data source dialog.
-
To remove data sources, select the appropriate ones and click the Remove icon.
Data object's data source
For a data object’s data source, you need to define which properties in the data source you want to map to the survey object and decide whether to apply filters to the objects loaded in the survey.