IBM Content Manager, Version 8.5          

Adding the ICM$NAME attribute to a nonhierarchical item type

The ICM$NAME attribute is the standard name attribute for an item type. It is an optional attribute for nonhierarchical item types and is required for hierarchical item types.

You can add the ICM$NAME attribute to the root component of any new or existing item type, except the part type class. The ICM$NAME attribute can be applied to documents, folders, or any data that is returned while performing a browse or a search. As the standard name attribute, the ICM$NAME attribute is useful for sorting and querying operations on item types, such as sorting results by name and resolving name-based paths.

The ICM$NAME attribute has the following characteristics:
When the ICM$NAME attribute is added to a nonhierarchical item type, it has the following default component attribute properties. Unless otherwise noted, these properties can be changed:

When you provide a value for ICM$NAME, there is no restriction on the characters you can use. However, all the trailing blanks in the value are removed by the library server. Therefore, if you have provided an ICM$NAME value with trailing blanks, those trailing blanks are not visible in any search results. If you provide an ICM$NAME value with a string consisting entirely of blanks, its value is converted to an empty string and error ICM7016 is returned from the library server.

The following restrictions apply for an ICM$NAME attribute of a nonhierarchical item type. You cannot:

To get the ICM$NAME attribute value of an item type, call the getName() method of its DKDatastoreICM object. For more information, see the Application Programming Reference.



Feedback

Last updated: December 2013
dcmcm155.htm

© Copyright IBM Corporation 2013.