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