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

If a feed element or comment has this capability, users who have permission can edit it.
Property Name Type Description Available Version
isEditRestricted Boolean Specifies whether editing this feed element or comment is restricted. If true, the context user can’t edit this feed element or comment. If false, the context user may or may not have permission to edit this feed element or comment. To determine if the context user can edit a feed element or comment, use the isFeedElementEditableByMe(communityId, feedElementId) or isCommentEditableByMe(communityId, commentId) method. 34.0
isEditable​ByMeUrl String The URL to check if the context user is able to edit this feed element or comment. 34.0
lastEditedBy ConnectApi.Actor Who last edited this feed element or comment. 34.0
lastEditedDate Datetime The most recent edit date of this feed element or comment. 34.0
latestRevision Integer The most recent revision of this feed element or comment. 34.0
relativeLast​EditedDate String Relative last edited date, for example, “2h ago.” 34.0