Saturday 9 February 2019


               How to Find Salesforce Object ID prefixes (custom or standard)

If you want to check for standard object replace customObject__c with standardObjectName
system.debug('Prifix–> ' + customObject__c.sobjecttype.getDescribe().getKeyPrefix());


No comments:

Post a Comment