Step 3 of Business Object Wizard displays the Select Source dialog box, which displays the source nodes of the data source. The source nodes are arranged in the source-node hierarchy. Each source node is the name of an object that the ODA has "discovered" in the data source. It can either be expanded to display other child nodes or selected for generation into content. Users can expand this source-node hierarchy to choose objects in the data source for conversion to content. For information, see Moving through the source-node hierarchy..
In Step 3, the wizard takes the following actions:
To obtain the source-node hierarchy, the wizard calls the getTreeNodes() method of the IGeneratesBoDefs interface. The ODA developer must implement this method as part of the ODA class's implementation of the IGeneratesBoDefs interface. It searches the data source to "discover" source nodes and returns these source nodes to Business Object Wizard as an array of TreeNode objects. When users expand a node for the first time, the wizard calls getTreeNodes() to display that particular level in the source-node hierarchy. Users can traverse this hierarchy to select the level of detail. For more information, see Moving through the source-node hierarchy.
Step 4 of Business Object Wizard displays the Confirm Source Nodes dialog box, which displays the selected source nodes. Users can either confirm the selections or go back to the Select Source dialog box to reselect source nodes. When the Next button is clicked, the wizard begins the content generation.
For information on how to implement the getTreeNodes() method, see Generating source nodes.