ApexIn3Hands
Monday, 6 April 2015
Object Name based on Record Id
idValue=String.valueOf(ctrl.getRecord().get('id'));
Id recordId=idValue;
String sObjName = recordId.getSObjectType().getDescribe().getName();
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment