Taxonomy.getTerms (Method)

Returns zero or more structures, each containing information about a taxonomy's terms; for example, 'AnnotationCount', 'FacetName', 'TermName', and so on.

Returns:

Taxonomy_GetTerms_Result (query)

Each row of the returned query results has the following fields:

Field Name Type Description
AnnotationsCount NonNegativeInteger The number of annotations.
AssociationsCount NonNegativeInteger The number of associations.
FacetName PlainText_NonNull_255 A facet's name.
ID TaxonomyTermID The term's ID.
isTopTerm Boolean Boolean flag which when set to true indicates that this term is the root term in a taxonomy.
TermName PlainText_NonNull_255 A term's name.

Arguments:

Name Type Required Description
id TaxonomyID Required A taxonomy's ID.
mode TaxonomyMode Required The mode of the terms that CommonSpot returns: 'Browse' or 'Edit'.

Context:

License Requirements None
Permission Requirements ContributorOrServerCode
Deny Context None
Require Context None
Author Lock (not required)
Transaction Logging Transaction logging is disabled for this method
Customization Customization is not supported for this method.

Error Codes:

None

Notes:

None