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
Shubham Bansal 45Shubham Bansal 45 

Is Question object is still functioning , I am not able to see Question object in my dev org.

Is the Question object is still functioning, I am not able to see the Question object in my dev org.
Its Urgent, Help will be appreciated.
Best Answer chosen by Shubham Bansal 45
SwethaSwetha (Salesforce Developers) 
HI Shubham,
Looks like the question object is not functional. The developer console does not allow a query on this object (even using tooling API). The below snippet from the anonymous block gives "Invalid type: question"
List<question> SobjLst = [select BestReplyId from question];
system.debug(SobjLst);
GET request made using /services/data/v49.0/sobjects also does not show the Question object

Based on searches https://salesforce.stackexchange.com/search?tab=newest&q=%22question%20object%22 and answers from https://salesforce.stackexchange.com/questions/126669/trigger-on-question-object-gives-below-error-during-the-deployment ,

There aren't any settings that we can use to disable/enable access to the questions object.The question object is an object from the legacy implementation of Communities but Communities no longer populate the Question Object. The "Chatter Answers" feature used to use the question object.

Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you