Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
hi everyone,
select query to list the standard objects in salesforce using SOQL.
Hi,
SOQL is used only to access data from salesforce rather than access schema. For this purpose we have Schema class to access all Objects from salesforce org. Basic syntax is -
Map<String, Schema.SObjectType> gd = Schema.getGlobalDescribe();
For more details plz go through the following link:
http://www.salesforce.com/us/developer/docs/apexcode/Contentapex_dynamic_describe_objects_understanding.htm#apex_describe_object_access_all
Kindly send me some other link bexause the link which u have mentioned is throwing "404 not found" error message
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_schema.htm
Hi,
SOQL is used only to access data from salesforce rather than access schema. For this purpose we have Schema class to access all Objects from salesforce org. Basic syntax is -
Map<String, Schema.SObjectType> gd = Schema.getGlobalDescribe();
For more details plz go through the following link:
http://www.salesforce.com/us/developer/docs/apexcode/Contentapex_dynamic_describe_objects_understanding.htm#apex_describe_object_access_all
Kindly send me some other link bexause the link which u have mentioned is throwing "404 not found" error message
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_schema.htm