ConnectApi.SearchFacet

Search facet.
This class is abstract and is a superclass of ConnectApi.DistinctValueSearchFacet.
Property Name Type Description Available Version
attributeType ConnectApi.​CommerceSearch​AttributeType Search attribute type. Values are:
  • Custom
  • ProductAttribute
  • ProductCategory
  • Product2
  • Standard
52.0
displayName String Display name of the facet. 52.0
displayRank Integer Display rank of the facet. Valid values are from 1 through 50. 52.0
displayType ConnectApi.​CommerceSearchFacet​DisplayType Display type of the facet. Values are:
  • CategoryTree
  • DatePicker
  • MultiSelect
  • SingleSelect
52.0
facetType ConnectApi.​CommerceSearch​FacetType Search facet type. Value is:
  • DistinctValue
52.0
nameOrId String Developer name of the attribute. In version 52.0 and later, the ID of the attribute isn’t supported. 52.0