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.EntityRecommendation

A Chatter, custom, or static recommendation.

Subclass of ConnectApi.AbstractRecommendation.

Property Name Type Description Available Version
actOnUrl String For user, file, group, topic, and record entity types, use this Connect REST URL with a POST request to take action on the recommendation.

For ConnectApi.RecommendedObject entity types, such as custom recommendations, use the actionUrl property of the ConnectApi.PlatformAction to take action on the recommendation.

32.0
action ConnectApi.​Recommendation​ActionType Specifies the action to take on a recommendation.
  • follow—Follow a file, record, topic, or user.
  • join—Join a group.
  • view—View a file, group, article, record, user, custom, or static recommendation.
32.0
entity ConnectApi.Actor The entity with which the receiver is recommended to take action. 32.0