Another Salesforce blog!!!

Salesforce, Apex

find the object name by passing id


Id myId = 'a0141000007TF4D';     
system.debug(myId.getSobjectType().getDescribe().getName());

Your email address will not be published. Required fields are marked *

*