You need to sign in to do that
Don't have an account?
Kevin Ocie
Need to get salesforce object list
We are trying to pull a list of all the Salesforce Objects (tables names) from Salesforce. The name of the Object is already known. I want to see the entire list of Objects prior to that. Is this possible?
for(Schema.SObjectType objectType : Schema.getGlobalDescribe().Values()){
String name = objectType.getDescribe().getName();
System.debug('Object name is==>' +name);
}
I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.
Thanks.
All Answers
for(Schema.SObjectType objectType : Schema.getGlobalDescribe().Values()){
String name = objectType.getDescribe().getName();
System.debug('Object name is==>' +name);
}
I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.
Thanks.
Execute the below code from Workbench or developer console so you will get the CSV File with Object Names:
Change the toAddresses to your email address.
Thanks,
Maharajan.C