Featured image of post Salesforce Chatter सभी हटाएं कमांड

Salesforce Chatter सभी हटाएं कमांड

Salesforce Chatter सभी हटाएं कमांड

यह Salesforce Chatter में सभी पोस्ट और अटैचमेंट हटाने का एक कमांड है। Developer Console खोलें, Debug मेनू से “Open Execute Anonymous Window” चुनें, निम्नलिखित कोड को पेस्ट करें और इसे निष्पादित करें। मैं व्यक्तिगत रूप से इसका उपयोग तब करता हूँ जब संगठन की स्टोरेज क्षमता कम होने लगती है।

1
2
3
4
5
6
delete [select id from FeedItem];
delete [select id from FeedAttachment];
delete [select id from ContentDocument];

// रीसायकल बिन खाली करें
database.emptyRecycleBin([select id from ContentDocument where IsDeleted = true ALL ROWS]);
comments powered by Disqus
निर्मित Hugo के साथ
थीम Stack द्वारा डिज़ाइन किया गया Jimmy