Use the <categoryFlat> portal tag to display various portal object categories. For example, Knowledge Base categories. It involves two element types: subcategories and category elements; subcategory is the first item in the hierarchy, and category elements are the second.

Available attributes:

AttributeTypeMandatoryDescription
classStringNSpecify the CSS class name defined in the CSS field.
nodeIdBig IntegerNDefine the portal node name.
categorySubjectStringY

Specify a table field containing category titles.

categoryDescriptionStringYSpecify a table field containing category descriptions. 
itemSubjectStringYSpecify a table field containing item titles.
itemDescriptionStringYSpecify a table field containing item descriptions.
categoryIconStringNSpecify a table column containing category icons.
itemIconStringNSpecify a table column containing item icons.
userStringNSpecify a column containing the information about the item originator that should be taken (for more details, see the example below). 
dateStringNSpecify a column containing the item creation date and time that should be taken (for more details, see the example below).
previewStringNSpecify a column containing information that can be used for the card preview.


<CategoryFlat nodeId="158934872713077631" categorySubject="name" categoryDescription="description"  itemDescription="body" itemSubject="name" date="sys_created_at" user="sys_created_by"></CategoryFlat>