Application Express User's Guide > Adding Navigation > Creating Trees > Creating a Tree
Creating a Tree |
Previous |
Next |
To create a tree:
Navigate to the Shared Components page:
Navigate to the Database Home Page.
Click the Application Builder icon.
Select an application.
On the Application Builder home page, click Shared Components.
Under Navigation, select Trees.
The Trees page appears.
To create a new tree, click Create.
Enter basic page information.
Specify how tabs should be implemented.
Enter a Tree Name and specify number of default expanded levels.
Select a tree template.
To display a tree, you need to specify a starting point. Depending on your Start Tree selection, enter either a query or a single value.
Identify whether to include Collapse All, Expand All, or Reset Tree buttons.
Specify the owner and name of the table on which the tree will be based.
A tree is based on a query and returns data that can be represented in a hierarchy. Identify the column you want to use as the ID, the Parent ID, and specify the text that should appear on the leaf nodes.
I D - Enter the column you want to use as the ID.
Parent ID - Enter the Parent ID.
Leaf Node Text - Specify the text that should appear on the leaf nodes.
Link Option - Select Existing Application Item to make the leaf node text a link. If you select this option, specify a page to link to.
Optional. Identify an optional where and order by clause to add to your query.
Specify the display text for the Go button.
Identify the page you want to branch to when the user clicks a button.
Click Finish.