ConnectApi.SearchFacet

Search facet.

This class is abstract and is a superclass of ConnectApi.DistinctValueSearchFacet.

Property NameTypeDescriptionAvailable Version
attributeTypeConnectApi.​CommerceSearch​AttributeTypeSearch attribute type. Values are:
  • Custom
  • PricebookEntry
  • ProductAttribute
  • ProductCategory
  • Product2
  • Standard
52.0
displayNameStringDisplay name of the facet.52.0
displayRankIntegerDisplay rank of the facet. Valid values are from 1 through 50.52.0
displayTypeConnectApi.​CommerceSearchFacet​DisplayTypeDisplay type of the facet. Values are:
  • CategoryTree
  • DatePicker
  • MultiSelect
  • SingleSelect
52.0
facetTypeConnectApi.​CommerceSearch​FacetTypeSearch facet type. Value is:
  • DistinctValue
  • Range
52.0
nameOrIdStringDeveloper name of the attribute. In version 52.0 and later, the ID of the attribute isn’t supported.52.0

See Also