You need to sign in to do that
Don't have an account?
Nitesh Acharya 19
Object Reference Issue
I have a contact Id as a String and I need to reference it to Contact Object without an SOQL query.
Is the below code a correct method?
String sId = '0037F00000YLe60';
Contact abc = new Contact(Id=sId);
I am facing issues, when I am using the above code in my scripts, it is giving me lot of reference issues. (field values do not come over as expected). Kindly advise.
Is the below code a correct method?
String sId = '0037F00000YLe60';
Contact abc = new Contact(Id=sId);
I am facing issues, when I am using the above code in my scripts, it is giving me lot of reference issues. (field values do not come over as expected). Kindly advise.
Contact abc = new Contact(Id=sId);
then the only way to do it request and do it or if you have all the contact reference anywhere reuse it ..