Add the #DF24 Developer Keynote to your agenda. Join us in-person on 9/18 at 2:30 p.m. PT or on Salesforce+ at 5 p.m. PT for the must-see session built just for developers.

Class Category

A category organizes other items and is contained in a hierarchy.

If true, this category is in a department. Dynamic promoted content can be configured to only choose categories that are also departments.

Fields inherited from class Item:

Creates a Category with the required id only. The category can then be further modified.

Parameters:

ParameterDescriptionRequired?
idSee Item.idYes
MethodModifier and Type
fromJSONObject(org.json.JSONObject json, java.lang.String id)static Category

Methods inherited from class Item: