October 8, 2021

How to find/query/SQOL all the Chatter Posts for a specific user in Salesforce?

SOQL:
SELECT Id, Body, Status, Type FROM FeedItem WHERE InsertedById = '<Id of the User>'

Reference Article for additional fields:
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_feeditem.htm

Output:


No comments:

Post a Comment