4

How does one delete a VF page from production? There is no delete button there. Is it possible to delete it from a sandbox and somehow migrate the deletion to production?

hamayoun
  • 2,747
  • 2
  • 32
  • 64
  • https://developer.salesforce.com/page/Propagating_Destructive_Changes – Adrian Larson Aug 04 '15 at 20:54
  • Nominated for reopening because the VF Page should be deletable from the UI in production. The OP does not see the DEL link and while it is most likely a permission issue it does not appear to be a duplicate of the question indicated int he comments – Eric Aug 05 '15 at 01:28

2 Answers2

5

You should be able to delete Visualforce pages from production directly and there should be a link to delete as long as you have the appropriate permissions and it is not a managed package.....

Simply goto:

Setup -> Develop -> Pages

Find the page you want to delete and click the DEL link.

If it is not there, ensure you have the proper permissions (Customize Application) and it is not a component of a managed package.

Eric
  • 54,152
  • 11
  • 100
  • 195
1

There is a concept called destructive changes, where you would need to run a deployment where you include the files you want to delete.

Check here for further details

Mihai Neagoe
  • 3,192
  • 1
  • 16
  • 25
  • Unless something has changed a VF page can be deleted directly from production via the UI. This means the answer is unnecessarily complex – Eric Aug 04 '15 at 21:18