• Shahamir Sheikh
  • NEWBIE
  • 0 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
how to get object name of lookup field in apex
for ex:
I have obj customObj__c
In this obj have lookup field of Account name: customObj Account
Now I have obj Name : customObj__c and lookup field Name:customObj Account.
problem is that how to get releted  object Name(Account) by lookup fieldApiName(customObj_Account__r) and object. name(customObj__c )