Newer Version Available

This content describes an older version of this product. View Latest

LinkedArticleFeed

Represents a single feed item on a linked Knowledge article attached to a record. This object is available in API version 37.0 and later.

As of Summer ’16, linked articles are supported only for work orders and work order line items.

Supported Calls

delete()describeSObjects()getDeleted()getUpdated()query()retrieve()

Special Access Rules

Knowledge must be set up in your org.

Fields

Field Name Details
Body
Type
textarea
Properties
Nillable, Sort
Description
The content of the feed item. Required when Type is TextPost. Optional when Type is ContentPost or LinkPost.
CommentCount
Type
int
Properties
Filter, Group, Sort
Description
The number of comments associated with the feed item.
InsertedById
Type
reference
Properties
Group, Nillable, Sort
Description
ID of the user who added this object to the feed. For example, if an application migrates posts and comments from another application into a feed, the InsertedBy value is set to the ID of the logged-in user.
IsRichText
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 the SOAP API. Otherwise, the post is rendered as plain text.

Rich text supports the following HTML tags.

  • <p>

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

    Tip

  • <b>
  • <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>

LikeCount
Type
int
Properties
Filter, Group, Sort
Description
The number of Likes associated with the feed item.
LinkUrl
Type
url
Properties
Nillable, Sort
Description
The URL of a LinkPost.
NetworkScope
Type
picklist
Properties
Group, Nillable, Restricted picklist, Sort
Description
Specifies whether the feed item is available in the default community, a specific community, or all communities.
ParentId
Type
reference
Properties
Filter, Group, Sort
Description
The ID of the object type to which the feed item is related. For example, set this field to a UserId to post to someone’s profile feed. Or set it to an AccountId to post to a specific account.
RelatedRecordId
Type
reference
Properties
Group, Nillable, Sort
Description
The ID of the ContentVersion object associated with a content post. This field is null for all posts, except ContentPost.
Title
Type
string
Properties
Group, Nillable, Sort
Description
The title of the feed item. When the Type is LinkPost, the LinkUrl is the URL, and this field is the link name.
Type
Type
picklist
Properties
Filter, Group, Nillable, Restricted picklist, Sort
Description
The type of feed item.
Visibility
Type
picklist
Properties
Filter, Group, Nillable, Restricted picklist, Sort
Description
Specifies whether this feed item is available to all users or only internal users.