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
tanmayeetanmayee 

Pull the standard and custom object name from salesforce account

I want to connect to another salesforce account from my salesforce account and pull the name of all the objects both standard as well as custom objects. can anyone tell me how to do this. Any help would be highly appreciated.

Jerun JoseJerun Jose
You will need to make a webservice callout from you base org.
For this you will need to consume the Enterprise WSDL from the target org into your base org. And then you can start making callouts to the target org and use the describeGlobal() call.