-
How to create instance of Sobject dynamically if you don’t know which sobject is going to be instantiated?
How to create instance of sObject dynamically? Normally the sObject is created like “Account a = new Account();”. But if you are in situation that you don’t know which sObject is going to be instantiated ? Means it will be decided at runtime, how you will handle it in Salesforce?
Log In to reply.