Step 2: Add Hierarchy Nodes

You can add hierarchy nodes two different ways. For this tutorial, choose ONE of the following methods:

- Add Hierarchy Nodes and Content with BulkLoader
- Add Hierarchy Nodes and Content with Portal Tools

Step 2a: Add Hierarchy Nodes and Content with BulkLoader

In this step, you will load content in batch mode via a command-line script called BulkLoader.

1. In your file system, navigate to the following directory:

   <BEA HOME>\weblogic81\portal\bin

2. Double click load_cm_data.cmd. This will launch a command prompt window and load sample data into the BEA Repository.
3. To view changes, return to the WebLogic Administration Portal, and select Content in the main navigation pane.

4. In the Content Hierarchy Resource tree, select the + icon to the left BEA Repository to expand the BEA Repository.
5. Select the + icon next to Ads -> Financial -> Logos nodes to fully expand the content hierarchy.

Step 2b: Add Hierarchy Nodes and Content With Portal Tools

In this step, you will create hierarchy nodes and content using the WebLogic Administration Portal tools.

1. Select Content in the main navigation pane.

2. In the Content Hierarchy Resource tree, right click the BEA Repository.

3. Select Add Node, and name the node Ads. Click OK.

4. Right click on the newly-created Ads node and select Add Node again. Name the node financial.
5. Right click on the financial node, add a node, and name it AdCampaign. At this point, your hierarchy structure should look like this:

6. Right click the AdCampaign node and select Add Content. Name the content item collegePlanningCampaign.jpg.
7. Select the Choose Type, select the type named ad, and click OK.
8. Set the Audience property to External.
9. For the content property, click Browse. Navigate to the following directory:

   <BEA HOME>\weblogic81\portal\db\data\sample\cm_data\Ads\financial\AdCampaign

10. Select collegePlanningCampaign.jpg and click Open.
11. Click Create.
12. In the Content Hierarchy Resource tree, select BEA Repository.
13. Repeat steps 6 - 11 to add IRACampaign.jpg and personalInvestmentAdvisor.jpg to the repository. Your content hierarchy should look like this: