## Add General Hierarchical Data Source dialog

This dialog appears when you right-click a data source node and select Add General Hierarchical Data Source from the shortcut menu in the Data tab of the Catalog Browser. It helps you to add a general HDS into a catalog. See the dialog.

The following are details about options in the dialog:

Class Name

Specifies the name of the entrance class that implements the HDS APIs. The class should be in the class path in the system environment.

Parameter

Specifies the parameter string that is required by the class, if any. The parameter string must match the format defined in the HDS class.

Structure

Shows the structure of the hierarchical data source.

Columns

Specifies the column settings.

- Element
  Displays the column name in the selected node of table.
- Selected
  Specifies whether to import the column into the catalog.
- Format
  Specifies the format in which the column values are to be displayed in the report result. Varies for different types of data, and can be manually defined.
- Type
  Specifies the data type of the column.
- Precision
  Displays the default value for each SQL type automatically. Click the cell and modify the value if necessary.
- Scale
  Specifies the decimal place.
- Nullable
  Specifies whether the field is nullable. You have three options to choose: Nullable, No Nulls and Nullable Unknown.
- Currency
  Specifies whether to use the Currency type for this field or not.
- Array
  Specifies whether to use the Array type for this field or not.

Load Tree

Analyzes and loads data tree from the external data source file. The structure is shown in the Structure box after you click this button.

OK

Applies all changes here and closes the dialog.

Cancel

Does not retain changes and closes the dialog.

Help

Displays the help document about this feature.

###### Related topics:

- Adding an HDS to a catalog