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
Suraj_BahaleSuraj_Bahale 

A developer is asked to create visualforce page that will be used as a dashboard component. Which three is valid controller for this page? Choose 3 answers

A. Use a custom controller.
B. Use a custom controller with extensions.
C. Use a standard controller with extensions.
D. Do not specify a controller.
E. Use a standard controller.
Best Answer chosen by Suraj_Bahale
ChellappaChellappa
Look at the documentation here - 
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_quick_start_basic_dashboard_components.htm

Visualforce pages that use the Standard Controller can’t be used in dashboards. To be included in a dashboard, a Visualforce page must have either no controller, use a custom controller, or reference a page bound to the StandardSetController Class.

All Answers

MagulanDuraipandianMagulanDuraipandian
A, B, C
--
Magulan Duraipandian
www.infallibletechie.com
ChellappaChellappa
Look at the documentation here - 
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_quick_start_basic_dashboard_components.htm

Visualforce pages that use the Standard Controller can’t be used in dashboards. To be included in a dashboard, a Visualforce page must have either no controller, use a custom controller, or reference a page bound to the StandardSetController Class.
This was selected as the best answer
Parikhit SarkarParikhit Sarkar
Visualforce pages that use the Standard Controller can’t be used in dashboards. To be included in a dashboard, a Visualforce page must have either no controller, use a custom controller, or reference a page bound to the StandardSetController Class. If a Visualforce page does not meet these requirements, it does not appear as an option in the dashboard component Visualforce Page drop-down list.

Answers: -
A) Use of Custom Controller
B) Dont specify Controller
D) Do not specify a controller.