String str =
'Account'
;
sObject objct = Schema.getGlobalDescribe().get(str).newSObject();
objct.put(
'Name'
,
'My Account'
);
objct.put(
'Description'
,
'Description of My Account'
);
String str =
'Account'
;
sObject objct = Schema.getGlobalDescribe().get(str).newSObject();
objct.put(
'Name'
,
'My Account'
);
objct.put(
'Description'
,
'Description of My Account'
);