To deactivate Chatter users, follow the path, find the user that you want to deactivate, edit the user records, uncheck the Active checkbox, and click on Save.
The deactivated user still owns the group; however, a user with the Modify All Data permission can assign a new owner.
If you enable the Chatter feeds for some object, and some records from that object have lots of Chatter feeds that you want to delete, you can use the developer console to do so as you can't do this by using the user interface.
In the preceding example, the user updated Amount in the opportunity feed many times, and it created a mass of unwanted posts in the Chatter feed. The people that are following this record will get updated in their Chatter feeds. Standard object feeds are stored in the ObjectFeed
object (for opportunity, it's OpportunityFeed
) and customs object are stored in the Object_Feed
object. You can run a query via the workbench or the developer console.
The developer console is a cloud-based IDE with a group of tools that you can use to run the SQL query and debug and test applications in your Salesforce organization.
OpportunityFeed[] feed = [SELECT Id FROM OpportunityFeed where CreatedByID ='UserID' LIMIT 10]; Delete feed;
To study more about working with logs in the Salesforce developer console, see the Log Inspector section in the Salesforce online help documentation.
Likewise, you can work on an account-object feed by referring the account feed for the custom Object__Feed
object. The same query can be run from a workbench as well.
52.14.141.171