Slaesforce FAQ

how to keep mention tags in feeditem clones salesforce

by Dr. Rodrigo Kihn Published 2 years ago Updated 2 years ago

There's now a roundabout way to preserve @mentions in FeedItem and FeedComment triggers if you turn on the feature to edit your Chatter posts and enable it for everyone who will be posting. See the blog post on Preserving Mentions in Triggers. Share

Full Answer

What is feeditem in Salesforce?

FeedItem represents an entry in the feed, such as changes in a record feed, including text posts, link posts, and content posts. This object is available in API version 21.0 and later. This object replaces FeedPost. FeedItem | Object Reference for Salesforce and Lightning Platform | Salesforce Developers

What version of Salesforce is the feedpost object available in?

This object is available in API version 21.0 and later. This object replaces FeedPost. FeedItem | Object Reference for Salesforce and Lightning Platform | Salesforce Developers Share your feedbackabout our new site.

Why are all content fields in a feeditem null in soql?

After uploading to a feed, it is possible for an attachment or document to be deleted, marked private, or hidden by sharing rules. In this case, all content fields in a FeedItem object appear as null in a SOQL query.

How to create a feed item of type userstatus?

A feed item of type UserStatus is automatically created when a user adds a post to update the status. You can’t explicitly create a feed item of type UserStatus. The FeedItem object doesn’t support aggregate functions in queries.

Special Access Rules

You can delete all feed items you created. To delete feed items you didn’t create, you must have one of these permissions:

Usage

When a feed item’s IsClosed field is set to true, some actions are blocked and others are blocked to most users. This table sets out the actions that are blocked when a feed item is closed.

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9