Visualforce Controllers
Visualforce Controllers
Visualforce have 3 types of controllers:
- Standard Controller,
- Custom Controller,
- Extension 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.
Syntax:
<Apex:page StandardController = "Account">
<!-- Your Code -->
</Apex: Page>
Custom Controller: use to build custom functionalities using visualforce page. We can't create more than one custom controller at a visualforce page.
Syntax:
<Apex:page Controller = "AccountButton">
<!-- Your Code -->
</Apex: Page>
Extension Controller: use to build custom functionalities that are not available at Standard controller. We can create more than one extension controller at a visualforce page.
Syntax:
<Apex:page StandardController = "Account" Extension = "ButtonAcc">
<!-- Your Code -->
</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 post any new tutorials that you like to learn 😄😄
Trigger Most Common Interview Questions and Answers for MNCs and Small-Mid Companies ⇒ https://sujay-salesforce.blogspot.com/2019/08/trigger-most-common-interview-questions.html
Visualforce Most Common Interview Questions and Answers for MNCs and Small-Mid Companies ⇒ *** Comming Soon ***
Apex Most Common Interview Questions and Answers for MNCs and Small-Mid Companies ⇒ *** Comming Soon ***
Lightning Component Most Common Interview Questions and Answers for MNCs and Small-Mid Companies ⇒ *** Comming Soon ***
Lightning Design System Most Common Interview Questions and Answers for MNCs and Small-Mid Companies ⇒ *** Comming Soon ***
Freelancing Services At Salesforce: Freelancing Services
How to Create Object at Salesforce Classic:- https://sujay-salesforce.blogspot.com/2019/04/how-to-create-object-at-salesforce.html
What is Workflow Rule At Salesforce:- https://sujay-salesforce.blogspot.com/2019/04/what-is-workflow-rule-at-salesforce.html
How to Create Field at Salesforce Classic:- https://sujay-salesforce.blogspot.com/2019/04/how-to-create-field-at-salesforce.html
What is a Trigger:- https://sujay-salesforce.blogspot.com/2019/08/what-is-trigger.html
Comments
Post a Comment