Datasets have been re-written from scratch to be more powerful and easier to use. Unlike our previous Datasets (which required being saved in a POD file to utilize in the Windward engines), new Datasets can be used like all other Datasources. This makes Datasets easier to manage and deploy in an application.
Datasets are created in the Connection Editor for valid Datasource Providers. Valid Datasource Providers include:
Datasets can be created by selecting the desired Datasource connection and clicking the “Data Set” button.
This creates an empty Dataset based on the selected Datasource. Next, create a query for the Dataset by either manually entering a query or by using a Wizard. When you’re finished editing a Dataset, click “Update” to save all changes.
In version 16.1, Datasets can be used just like Datasources.
To use a Dataset with RunReport, add the following parameter:
-dataset:name “ds=dataSourceName;select=theSelect”
To create a Dataset with the Java engine API, use the following code snippet:
DataSourceProvider datasource = new DataSetDataSource(dsName, select, parentDataProvider);
To create a Dataset with the .NET engine API, use the following code snippet:
IReportDataSource datasource = new DataSetImpl(dsName, select, parentDataProvider);