function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
surbhi gupta 57surbhi gupta 57 

hi Guys, i have few open questions Which two Apex data types can be used to reference a Salesforce record ID Dynamically

Sorna JenefaSorna Jenefa
Hi

    Two Apex data types can be used to reference a Salesforce record ID Dynamically
  • External Id
  • String
Thanks 
Jenefa
Sweet Potato Tec
 
surbhi gupta 57surbhi gupta 57
why not sobject, we can get id using sobject variablename.id
Debaranjan GhoshDebaranjan Ghosh
Hello All ,

Can any body please suggest how to do coding for this (Apex data types used to reference a Salesforce record ID Dynamically?)

Best Regards 
Debaranjan Ghosh