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
lakhwinder singh 13lakhwinder singh 13 

I have field Api Name Like' AccountId' I don't know this Api belongs to which object. I want to get object Name. and object Api Name. how to solve it. through schema in salesforce.

I have field Api Name Like' AccountId'  I don't know this Api belongs to which object. I want to get object Name. and object Api Name.  how to solve it. through schema in salesforce. 
Suraj Tripathi 47Suraj Tripathi 47
Hi LakhWinder,

check the tooling API checkbox and query the fields in the query editor.

https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_customfield.htm
 
Please check the above link it will help you.

If you find your Solution then mark this as the best answer. 

Thank you!

Regards,
Suraj Tripathi
ravi soniravi soni
Hi lakhwinder,
There is no way to find out object name based on fieldName.I have searched anywhere but not got any referance but if you want to figure out objectName, you will have to search in each object particularly.
If this info seemed you useful, Marking it as best answer so that it can help to  others in future.

Thank you