FeedRevision

Holds the revision history of a specific feed item or comment, including a list of attributes that changed for each revision. This object is available in API version 34.0 and later.

Supported Calls

describeSObjects(), query(), retrieve()

Fields

Field Name Details
Action
Type
picklist
Properties
Filter, Group, Nillable, Sort
Description
Holds the type of modification to the underlying feed item or comment attribute. Action can have the value Changed.
EditedAttribute
Type
picklist
Properties
Filter, Group, Nillable, Sort
Description
Identifies the part of the feed item or comment which was modified. A single revision can have many edited attributes.
FeedEntityId
Type
reference
Properties
Filter, Group, Sort
Description
Identifies the modified feed item or comment.
IsDeleted
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Indicates whether the record has been moved to the Recycle Bin (true) or not (false). This field is a standard system field.
IsValueRichText
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Indicates whether the feed item Body contains rich text. Set IsRichText to true if you post a rich text feed item via SOAP API. Otherwise, the post is rendered as plain text.

Rich text supports the following HTML tags:

  • <p>
    Tip

    Tip

    Though the <br> tag isn’t supported, you can use <p>&nbsp;</p> to create lines.

  • <b>
  • <code>
  • <i>
  • <u>
  • <s>
  • <ul>
  • <ol>
  • <li>
  • <img>

    The <img> tag is accessible only via the API and must reference files in Salesforce similar to this example: <img src="sfdc://069B0000000omjh"></img>

Note

Note

In API version 35.0 and later, the system replaces special characters in rich text with escaped HTML. In API version 34.0 and prior, all rich text appears as a plain-text representation.

OriginNetworkId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
The ID of the community in which a user modified the feed item or comment. This field is only available, if Salesforce Communities is enabled for your organization.
Revision
Type
int
Properties
Filter, Group, Nillable, Sort
Description
The revision number of the feed item or comment.
Value
Type
textarea
Properties
Nillable
Description
Identifies the value of the EditedAttribute field before the update.

Usage

This object tracks the changes made to a feed item or feed comment and stores a list of attributes that changed for each revision.
  • To query the FeedRevision object, users need the “View All Data” permission or supply a WHERE clause on the FeedEntityId.