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

Popular Salesforce Videos