+ Start a Discussion
Swathi A 8Swathi A 8 

Hey! Can anybody know how to find AccountId for lookup field. For example contact can access Account id. but i need account id for custom object

Hi Swathi,

It will the api name of field which lookup to Account.
Ex- Obj1 has lookup to Account with field look_Account__c, this this field store the id of account.

Hope this helps!
ANUTEJANUTEJ (Salesforce Developers) 
Hi Swathi,

If you have a custom field of lookup type on the custom object and relate it to account object and on creating a record you can find the accountid when you click on the lookup field.

Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.