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

Information about whether a proposed mention is valid for the context user.
Name Type Description Available Version
recordId String The ID of the mentioned record. 29.0
validationStatus ConnectApi.​MentionValidation​Status Enum Type of validation error for a proposed mention, if any.
  • Disallowed—The proposed mention is invalid and is rejected because the context user is trying to mention something that is not allowed. For example, a user who is not a member of a private group is trying to mention the private group.
  • Inaccessible—The proposed mention is allowed, but the user or record being mentioned isn’t notified. They don't have access to the parent record that’s being discussed.
  • Ok—There is no validation error for this proposed mention.
29.0