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
AbAb 

not abe to do SOQL on object of managed package

Hello,
I am not able to query the package

i am using SELECT id from Z_XX__c but it show that the Z_XX__c is not available

any suggestions please
Best Answer chosen by Ab
Sai PraveenSai Praveen (Salesforce Developers) 
Hi ,

After namespace I hope you should give __ not _.

namespace__objectAPI__c

Thanks,
 

All Answers

Sai PraveenSai Praveen (Salesforce Developers) 
hi,

If you have access to the managed package then you ahve to use namespace__objectapiname as name.

select id from act__Company__c.

here act is namespace and Company__c is object APINAME.


Let me know if you face any issues.

If this solution helps, Please mark it as best answer.

Thanks,
AbAb
I am doing it namespace_classname__c
actually, i just copy pasted the code from apex class.
but it is showing error in query editor
and i have access to package
Sai PraveenSai Praveen (Salesforce Developers) 
Hi ,

After namespace I hope you should give __ not _.

namespace__objectAPI__c

Thanks,
 
This was selected as the best answer