APEX SALESFORCE Salesforce Customization Visualforce

How to enable the inline editing using Visualforce page

How to enable the inline editing using Visualforce page Step 1: Create a new Custom Visualforce page with following code. (Setup-> Develop – > Pages) <apex:page StandardController=”Account” tabStyle=”Account” sidebar=”true” > <apex:detail inlineEdit=”true” relatedList=”true”/> </apex:page> Note: In above code you have…

Read More
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