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

The following attributes are applicable:

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 from which the information about the item originator should be taken (for better clarity, see the example below).
dateStringNSpecify a column from which the item creation date and time should be taken (for better clarity, see the example below).
previewStringNSpecify a column containing information that can be used for the card preview.
categoryFlat
<CategoryFlat nodeId="158934872713077631" categorySubject="name" categoryDescription="description"  itemDescription="body" itemSubject="name" date="sys_created_at" user="sys_created_by"></CategoryFlat>


  • No labels