+ Start a Discussion
GraciaGracia 

How to check which visual force pages are not used in org in bulk. Is there any method to check in one go ???Actually I have lot of Visual force pages in the org. I want to deactivate the pages which are not used in the org. Kindly help

SwethaSwetha (Salesforce Developers) 
HI Jivan,

There is no automated way to find which VF pages are not in use. The best approach would be to get in touch with your business and developers to assess the usage of the pages and its dependencies to avoid impact to the production users.

There is no way to deactivate a VF page. You can only delete them in the production as long as you have the appropriate permissions and it is not a managed package.(Related: https://salesforce.stackexchange.com/questions/85997/delete-visualforce-page-from-production)

Once the pages to be deleted are identified, you might want to consider deleting the dependant classes, triggers too. 
See https://developer.salesforce.com/forums/?id=906F0000000AlFHIA0

To be able to delete them in bulk, you can use the approaches mentioned on the https://salesforce.stackexchange.com/questions/23229/best-way-to-delete-unused-apex-classes-and-triggers-in-production

Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you