I want to get the sObject name in JS section of VF Page . I have the object id .
var objectID = ; objectID = Id;
Something akin to :
String sObjName = myId.getSObjectType().getDescribe().getName();
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community