function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Manish Anand 10Manish Anand 10 

Custom Controller and extenstion

Hi,
What will be the answer of below query-
when would a developer use a custom controller instead of a controller extension?

1)When a VF Page needs to replace the functionality of a standard controller.
2)When a VF Page doesn't reference a single primary object.
3)When a VF Page shouldn't enforce permissions or field level security.
4)When a VF Page needs to add new actions to a standard controller.

It looks 2 and 3. 
Please correct me.
 
anuj huriaanuj huria
hi manish
ans is 1 and 3
thanks