Activity Forums Salesforce® Discussions Finding Sobject type when Id is given in Salesforce?

  • Tanu

    Member
    December 8, 2016 at 1:42 pm

    Hi Kumar,

    Try this,

    Schema.SObjectType sobjectType = Id.getSObjectType();
    sobjectName = sobjectType.getDescribe().getName();

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos