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:
Attribute
Type
Mandatory
Description
class
String
N
Specify the CSS class name defined in the CSS field.
nodeId
Big Integer
N
Define the portal node name.
categorySubject
String
Y
Specify a table field containing category titles.
categoryDescription
String
Y
Specify a table field containing category descriptions.
itemSubject
String
Y
Specify a table field containing item titles.
itemDescription
String
Y
Specify a table field containing item descriptions.
categoryIcon
String
N
Specify a table column containing category icons.
itemIcon
String
N
Specify a table column containing item icons.
user
String
N
Specify a column from which the information about the item originator should be taken (for better clarity, see the example below).
date
String
N
Specify a column from which the item creation date and time should be taken (for better clarity, see the example below).
preview
String
N
Specify a column containing information that can be used for the card preview.