Creating hierarchies
You can create a hierarchy to classify the items under hierarchies. A hierarchy consists of a set of categories. For example, you can create a hierarchy of books for categorizing the books into different categories such as fiction, non-fiction, drama, poetry, technical books, and non-technical books. A category hierarchy is used by catalogs to classify items, while an organization hierarchy is used to manage IBM® InfoSphere® Master Data Management Collaboration Server users.
Before you begin
Procedure
Create the hierarchy with any of the following methods:
user interface, Java™ API, or
script API. You need to specify hierarchy name, select a primary spec,
display attribute, a path attribute, a hierarchy type, and the access
control group when you create the hierarchy. Display attribute is
the spec node in the primary spec, whose value for each category in
the hierarchy will be displayed in the left pane when displaying this
hierarchy in the left pane.
Users can view the newly created hierarchy in the Hierarchy
Console by clicking Product Manager > Hierarchies
> Hierarchy Console.
Option | Description |
---|---|
User interface |
|
Java API | The following sample code creates a hierarchy. Sample
1: Creating a category hierarchy.
|
The following sample code creates an organization hierarchy. Sample
2: Creating an organization hierarchy.
|
|
Script API | The following sample script API creates a hierarchy with the
name My Hier, My Primary Spec as the primary spec, and str2 as the
display and attribute path node.
|