Retrieving information about a taxonomy

You can retrieve the number of taxonomies by using the method DM_getNumTax. To retrieve the name of a taxonomy, use the method DM_getTaxName. This method requires a number that ranges from 1 to the total number of taxonomies that are defined. After you know the name of a taxonomy, you can retrieve information about the different category maps in the taxonomy.
The following table shows the information that you can retrieve about category maps and the method to be used:
Table 1.
Information Method
DM_getNumTaxMap To find out how many category maps are defined.
DM_getTaxTabName To retrieve the name of the table that holds a specified category map.
DM_getTaxChildCol To retrieve the name of the child column of a category map.
DM_getTaxParentCol To retrieve the name of the parent column of a category map.
DM_getTaxParentNmp To retrieve the name mapping of the parent column of a category map.
DM_getTaxMapType To find out which type (recursive or non-recursive) the category map belongs to.

Each method gets the taxonomy name and the position of the category map as input, and returns the appropriate output value. The position of a category map ranges from 1 to the total number of category maps that are defined in the taxonomy.



Feedback | Information roadmap