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
d3developerd3developer 

FInding out if SObject is Chatter-enabled

 

I realize I can iterate through all objects in an organization, but this is very expensive (in terms of SOQL queries).

 

Is it on the roadmap to be able to query the SObject metadata to find out if an object is Chatter-enabled, and, if so, when can we expect to see it available?

 

This substantially affects some things I am working on...

 

Best Answer chosen by Admin (Salesforce Developers) 
Jon Mountjoy_Jon Mountjoy_

See the Summer '10 Release notes.

 

I read this the other day, which I think nails it:

 

New isFeedEnabled Method for DescribeSObjectResult Returns true if Salesforce Chatter feeds are enabled for the object, false otherwise.

All Answers

d3developerd3developer

Along these lines it would also be awesome to have a SObject__Feed object.

Jon Mountjoy_Jon Mountjoy_

See the Summer '10 Release notes.

 

I read this the other day, which I think nails it:

 

New isFeedEnabled Method for DescribeSObjectResult Returns true if Salesforce Chatter feeds are enabled for the object, false otherwise.

This was selected as the best answer
cloudcodercloudcoder

yep its in Summer '10. I just blogged about it too: http://blog.sforce.com/sforce/2010/05/apex-code-enhancements-in-summer-10.html

d3developerd3developer

Awesome. You're one step ahead of me!

 

SObject__Feed ?