Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ConnectApi.SearchFilter

Filter input for object search.
Property Type Description Required or Optional Available Version
field String Field to use in the filter. Optional 63.0
operator ConnectApi.​FilterOperator Filter operator. Values are:
  • EqOp—Equal
  • ExcludesOp—Excludes
  • GtOp—Greater than
  • GteOp—Greater than or equal
  • InOp—In
  • IncludesOp—Includes
  • LikeOp—Like
  • LtOp—Less than
  • LteOp—Less than or equal
  • NeOp—Not equal
  • NinOp—Not in
Optional 63.0
values List<ConnectApi.​AbstractList> Values of the filter, it can be a List of String, Boolean, Long, or Double. Do not mix data types for filter values, for example, ["A", "B", "C"] is valid, but ["A", -7, false] isn't. Optional 63.0