APEX SALESFORCE Salesforce Configuration Salesforce.com

System.SObjectException: You cannot call addFields when the data is being passed into the controller by the caller

System.SObjectException: You cannot call addFields when the data is being passed into the controller by the caller In your ┬áStandardController extension, we were using the StandardController.getRecord() method┬áto fetch the record supplied by the Standard Controller Consider in the following apex…

Read More