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
sunil h 10sunil h 10 

We are getting few object names in workbench "Metadata types and components" these object are not there in salesforce org

We have few object displayed in workbench and WDSL file but not visible in salesforce org and not able to query ex:select id from SIM_Account limit 1
Above query gives error as : 
[object Object]: entity type SIM_Account does not support query because current user does not have access to any implementors.
User-added image
Deepali KulshresthaDeepali Kulshrestha
Hi Sunil,

You have used a custom object but you have to write the correct API name i.e SIM_Account__c as "__c" is the postfix of a custom object name.
Please refer to the following code as it may help in solving your problem:-

List<SIM_Account __c> simAccList=[select id from SIM_Account__c limit 1];

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Deepali Kulshrestha