Configuring the extended custom data source
After you finish developing all the components of a custom data source, you configure the data source for use with Report Studio. Data sources available to Report Studio are defined in the following configuration file:
<context root>\WEB-INF\erni_config.xml
Listing 3‑7 shows the definition of the extended sample data source. To add your custom data source, create a new <odaconfig> element in erni_config.xml. Table 3‑4 describes each attribute, within the <odaconfig> element, that you configure.
Table 3‑4 Attributes of an extended custom data source
Attribute
Description
<name>
The unique name of the data source. This name follows specific naming conventions. There can be no spaces, for example.
<displayName>
The data source name that appears in the Data Source dialog box, as shown in Figure 3‑18.
<description>
The data source description that appears in the user interface.
<datasetExtensionId>
Identifies the ID of the data set extension that was created in the ODA data driver. The value should match the data set extension ID that is specified in the servlet.
<datasourceExtensionId>
Identifies the ID of the data source extension that was created in the ODA data driver. The value should match the data source extension ID that is specified in the servlet.
<enabledInWorkgroupMode>
Not used.
<enabledInEnterpriseMode>
Indicates whether this data source is available to users.
<entryPoint>
A URL or servlet that points to the first web page of your custom query builder.