Posts

Showing posts from August 20, 2019

Visualforce page that shows Account details using a standard controller

Create a Visualforce page that shows Account details using a standard controller Standard Controller:  Use to take the standard functionalities for standard or custom object that is available. We can't create more than one standard controller at a visualforce page. Visaulforce page: <apex:page standardController="Account"> <apex:PageBlock> <apex:inputField value="{!account.name}"/> <p/> <apex:inputField value="{!account.phone}"/> <p/> <apex:inputField value="{!account.email}"/> <p/> <apex:inputField value="{!account.address}"/> <p/> <apex:commandButton value="Save" action="{!save}"/> </apex:PageBlock> </apex:page> If you have any confusion regarding this Blog, feel free to comment, I will definitely resolve your issue. 😃 Also! Please comment if you want me to pos