Activity Forums Salesforce® Discussions Is there any way of mapping a key prefix to an object type?

  • vishnu

    Member
    September 14, 2016 at 7:38 am

    Hi mohit,

    String objectAPIName = someId.getSObjectType().getDescribe().getName();

Log In to reply.

Popular Salesforce Blogs

AI in Salesforce

Transform businesses with the power of Artificial Intelligence leveraged through Salesforce Einstein

Blog in

Artificial Intelligence is powering next-generation customer experiences with smart predictions, intelligent recommendations, timely automation and much more. Gartner predicts that by 2020, a staggering 85% of…

Popular Salesforce Videos