4

I'm trying to delete a visualforce page that is contained in a managed package. I have opened a case with the Salesforce support team and they enabled deletion of components that are contained in a managed package (I've already deleted some other components).

However, when I go to the visualforce page details, there is no "delete" button, or any method to remove the page.

Note: the page is being used as the content of another custom tab that I already deleted, but when clicking "where is this used?" I still get the deleted tab, but cannot edit the content.

Is there a way to delete this visualforce page?

10
  • I might be wrong(and I probably am), but don't deleted items end up in recycle bin for some time? In this case this tab is in recycle bin and not yet fully deleted
    – Novarg
    Nov 26, 2014 at 10:25
  • @Novarg tabs are not going to the recycle bin (just double verified it). When deleting the tab you actually agree that the change is irreversible.
    – Tzach
    Nov 26, 2014 at 10:29
  • You've probably already explored it, but you don't explicitly mention it, so worth asking: what happened when you tried to delete the managed package? Or are these some components in the package that you want to keep?
    – pchittum
    Nov 26, 2014 at 11:05
  • Also, how long ago did you delete the tab. We do very little hard deleting. Often "delete" means "marked for delete at a later time but still recoverable if that was a bad mistake". The consistency check should still allow deletion of the page, but something may have gone wrong given the irregular circumstance of the managed package.
    – pchittum
    Nov 26, 2014 at 11:07
  • 1
    @MikeChale it's in the packaging org. The package is installed for other orgs as well.
    – Tzach
    Nov 26, 2014 at 13:48

2 Answers 2

0

Straight out of Salesforce Online Help

enter image description here

7
  • Could you please share the link to the help page?
    – Tzach
    Nov 26, 2014 at 13:50
  • The question stated that support has enable a special permission to be able to delete components from the managed package. Are you thinking that somehow this permission doesn't include Visualforce pages even though other items components can be deleted?
    – pchittum
    Nov 26, 2014 at 13:57
  • Hi Tzach,Here you go. help.salesforce.com/apex/HTViewHelpDoc?id=pages_manage.htm Nov 26, 2014 at 15:22
  • @AmitBangad - FYI With the new ability to delete components in a managed package (currently a feature request) you are supposed to be able to remove VF pages now.
    – Eric
    Jan 23, 2015 at 16:16
  • Thanks Eric, it means Salesforce can enable this privilege.Sounds great ! Jan 24, 2015 at 19:08
0

Starting Spring 2015, VisualForce pages can be deleted even if they are included in a Managed Package. Just go to the VisualForce page details and click delete.

3
  • I am not able to see any delete icon in my manage package for vf page.
    – Ankuli
    Apr 20, 2015 at 12:48
  • @Ankuli Make sure your page doesn't reference other components, plus you might have to ask Salesforce to unlock this feature for you.
    – Tzach
    Apr 20, 2015 at 12:49
  • ok. I have made cf page code completely blank. ok. I have to contact sf support for this privilege.
    – Ankuli
    Apr 20, 2015 at 12:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .