You need to sign in to do that
Don't have an account?
sagar patil 13
How To Create Generic Class for SObject In apex code
Using a Sobject name(which will be String) I should able to access fields of that SObject.
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_dynamic_describe_objects_understanding.htm
Please try the below code,
Hope this helps.
Regards