SP.Taxonomy.Term.getTerms Method (sp.taxonomy)

Returns all Term instances that are descendants of the current Term with a Label in the provided LCID matching the string provided. It only checks default Labels if defaultLabelOnly is true.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

SP.Taxonomy.Term.getTerms(g, h, e, d, c, f)

Return value



  • g

  • h

  • e

  • d

  • c

  • f

  • termLabel
    The term label to match against.

  • lcid
    This method only searches Labels in this lcid.

  • defaultLabelOnly
    Whether to search only default Labels.

  • stringMatchOption
    Whether the search is exact match or start with.

  • resultCollectionSize
    Maximum number of results returned.

  • trimUnavailable
    Whether to include not available for tagging term in the results.