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
Ed055Ed055 

find the object label/name from fiel api name

I have installed a custom app and that installed lot of custom objects. I'm trying to update a particuar field manually and all I have is api name of that field. I cannot find that field in custom objects . I looked at the wsdl and found that field  belongs to somne object which is defined as complex type and that object name is api name.

How do I find the lable of an object from the field api name ?   
Thanks,
Ed
Best Answer chosen by Ed055
pconpcon
I wrote this [1] and use it all the time.  You can just copy / paste the code into a Visualforce page and then it will show the labels as well as the API names.

[1] https://developer.salesforce.com/blogs/developer-relations/2015/02/using-metadata-api-describe-objects.html