Ask Question
18 February, 06:19

When would a developer use a custom controller instead of a controller extension?

+4
Answers (1)
  1. 18 February, 08:32
    0
    When a Visual-force page should not enforce permissions or field-level security.

    Explanation:

    Custom controllers contain or implement the data manipulation and logic used by the Visual-force page. They are the apex controller logic used when a Visual-force page should not enforce permissions or field-level security. It does not leverage the standard controller functionality.

    The controller extension is used to extend the functionality of both the custom and the standard controller. Both custom controller and controller extension runs in system mode, the custom or standard controller uses the permission and edit other functionalities of the user mode when it is extended by the controller extension.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “When would a developer use a custom controller instead of a controller extension? ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers