Gets a tag cloud.

Syntax

Smartsite SXML CopyCode image Copy Code
datatable tags.getcloud(enum mode, string thesaurusCode)
datatable tags.getcloud(enum mode, string thesaurusCode, integer threshold)
datatable tags.getcloud(enum mode, string thesaurusCode, integer threshold, integer maxRows)

Parameters

Name Data Type Description
mode Enum The tag relevance mode.
Enum values:
  • Relevance
    Count items that are related to the tag.
  • Popularity
    Count hits to items that have the tag.
thesaurusCode String The thesaurus code.
threshold Integer The threshold.
maxRows Integer The max rows.

Return Value

Data Type Description
DataTable SXML DataTable