+ Start a Discussion
SandrineSandrine 

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 Sandrine
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,
SandrineSandrine
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