< Back to Features

New and Improved Datasets

Version
All Products
Designer
Artist
Scout
Javelin
.NET Engine
RESTful Engine
Java Engine

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.

Creating a Dataset

Datasets are created in the Connection Editor for valid Datasource Providers. Valid Datasource Providers include:

  • SQL Datasources (Microsoft SQL Server, Oracle,MySQL, or DB2)
  • XPath 2.0
  • JSON
  • OData

Datasets can be created by selecting the desired Datasource connection and clicking the “Data Set” button.

Connection Editor

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.

Select datasource in Connection Editor

Dataset Usage in the Report Designer – OfficeEdition

In version 16.1, Datasets can be used just like Datasources.

Dataset Usage in the Java Engine and .NET Engine RunReport

To use a Dataset with RunReport, add the following parameter:

-dataset:name “ds=dataSourceName;select=theSelect”

  • name is thenickname of the Dataset
  • dataSourceName is the name of the Datasource that the Dataset is based on  
      This Datasource must also be defined in theRunReport parameters
  • theSelect is the query for the Dataset

Dataset Usage in the Java Engine API

To create a Dataset with the Java engine API, use the following code snippet:

DataSourceProvider datasource = new DataSetDataSource(dsName, select, parentDataProvider);

  • dsName is the nickname of the Dataset
  • select is the query for the Dataset
  • parentDataProvider is the Datasource that the Dataset is based on

Dataset Usage in the .NET Engine API

To create a Dataset with the .NET engine API, use the following code snippet:

IReportDataSource datasource = new DataSetImpl(dsName, select, parentDataProvider);

  • dsName is the nickname of the Dataset
  • select is the query for the Dataset
  • parentDataProvider is the Datasource that the Dataset is based on

For over 10 years, Windward has lead the industry with our world-class document generation platform that creates visually stunning, data-powered documents designed exactly the way users want and are created in a fraction of the time and cost compared to existing solutions. Proudly located in Boulder, Colorado, Windward Studios is the premier solution for developers and business users adding reporting and document generation capabilities to their applications in over 70 countries around the world.