WebSphere brand IBM WebSphere Premises Server, Version 6.1.x

Importing a containment relationship

This topic describes how to import containment relationships with a CSV file.

Before you begin
You can import items into a container using a CSV file. However, before completing these steps, make sure the container item that you are adding items to has already been defined.
Procedure
  1. Configure the properties in Data_Export.properties, ClassMapping.properties, and class_name.properties as specified in Importing resource data to Location Awareness Services for WebSphere Premises Server. In the class_name.properties file, in addition to the other necessary values, set the following values for attribN:
    • Enter attribN=EdgeLength to map to the column in the CSV file that contains the item's edge length, if it has been specified.
    • Enter attribN=ContainerTagId to map to the column of the CSV file that indicates the tag ID of the container item.
    • Enter attribN=removeFromContainer to map to the column of the CSV file that indicates whether the item should be removed from the container item. The value in the column must be set to yes for the item to be removed.
  2. Then run the data import application, as specified in Importing resource data to Location Awareness Services for WebSphere Premises Server.

Library | Support | Terms of use

(c) Copyright IBM Corporation 2004, 2008. All rights reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.