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
samrat.1985@lntinfotechsamrat.1985@lntinfotech 

Need a visual force page which will display all the existing pages and their controllers

Hi,

 

I have a requriment of a view in which i get a list of all the visual force pages and their associated controller classes.

Currently i have to go to each and every page under Setup|Develop|Pages then view that page and then click on "Show Dependencies". An this step i have to carry out for each and every page which i want to know.

 

If i can have a small utility code whcih will take page name as input and give me its controller name that would be of great help to get the entire list of VisualForce Pages against its controllers.

 

Any Suggestions?

JitendraJitendra
You can try to play with REST API of tooling API. It might help you - http://www.salesforce.com/us/developer/docs/api_toolingpre/api_tooling.pdf
samrat.1985@lntinfotechsamrat.1985@lntinfotech

To make the question more clear.

How can i retrieve the controller name used in a visualforce page without opening the page in development mode and without clicking on the show dependencies button??