function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sharmila SahooSharmila Sahoo 

how can we make topic related to any custom object empty in salesforce.I have some for 141 records of a custom object for which I need to remove all topics.Please Provide some resolution as it is really important.

SandhyaSandhya (Salesforce Developers) 
Hi,

You can use a query to retrieve topics from sobject and use DML delete.

Please refer below link.

https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_topic.htm

https://automationchampion.com/tag/topics-in-salesforce/
 
http://salesforce.stackexchange.com/questions/145219/query-chatter-feed-topics-and-groups
 
Hope this helps you!

Please mark it as Best Answer if my reply was helpful. It will make it available for other as the proper solution. 
 
Thanks and Regards
Sandhya