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

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:

Once the pages to be deleted are identified, you might want to consider deleting the dependant classes, triggers too. 

To be able to delete them in bulk, you can use the approaches mentioned on the

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