How to convert sObject to String in Apex
To convert sObject to String in Apex, below i s the simple code
Example:
public sObject searchAccount;
String objType = String.valueOf(searchAccount);
How to convert sObject to String in Apex
To convert sObject to String in Apex, below i s the simple code
Example:
public sObject searchAccount;
String objType = String.valueOf(searchAccount);
3x Salesforce MVP | Platform Champion | 18x Salesforce Certified | MuleSoft Certified | 8x Trailhead Ranger | TechForce Services | Sydney | Australia