You need to sign in to do that
Don't have an account?
Ginny Mahant
Here is a screenshot from workbecnch. List of object for SOQL and SOSL differs. How do we understand in general the objects that allow SOQL and objects that allow SOSL.
Can we follow the rule that all objects (std, custom and metadata ) with NAME, PHONE, EMAIL FIELDS in them allow SOSL ???
Please help I can't understand .
How do we understand which objects can be queried with SOQL and which can be queried with SOSL ???
Here is a screenshot from workbecnch. List of object for SOQL and SOSL differs. How do we understand in general the objects that allow SOQL and objects that allow SOSL.
Can we follow the rule that all objects (std, custom and metadata ) with NAME, PHONE, EMAIL FIELDS in them allow SOSL ???
Please help I can't understand .
using isQueryable() and isSearchable() method in DescribeSObjectResult class
Option 2: - You can find the details in the soap api guide
Go to any object in soap api guide and you can able to see the supported calls like below
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), merge(), query(), retrieve(), search(), undelete(), update(), upsert()
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_account.htm
All Answers
using isQueryable() and isSearchable() method in DescribeSObjectResult class
Option 2: - You can find the details in the soap api guide
Go to any object in soap api guide and you can able to see the supported calls like below
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), merge(), query(), retrieve(), search(), undelete(), update(), upsert()
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_account.htm