You need to sign in to do that
Don't have an account?
Jorg_Janke
This app can't be upgraded - global Visualforce components need
You can (unfortunately) delete a global Visualforce component in a packaged application.
Usually, you are prevented from modifying/deleting global Apex parts, etc - but there is no guard for global Visualforce component.
The component was not referenced for quite a few releases. The usual procedure to create a patch release and de-reference the deleted entities does not work - as they are not referenced.
As a user/developer, there are not any options to un-delete components.
What are my options?
Usually, you are prevented from modifying/deleting global Apex parts, etc - but there is no guard for global Visualforce component.
The component was not referenced for quite a few releases. The usual procedure to create a patch release and de-reference the deleted entities does not work - as they are not referenced.
As a user/developer, there are not any options to un-delete components.
What are my options?
I am not pretty much sure on that, I guess it should allow you to upgrade.Still, you can give a try by attempting the above once.
Regards,
Nagendra.
All Answers
There is this knowledge article for this kind of problem Removing Obsolete Visualforce from Managed Packages
- https://help.salesforce.com/articleView?id=000212807&language=en_US&type=1
If you have already deleted and packaged up the changes to a new package you will need to follow the below steps to upgrade users to the new package version:- Create a patch from the previous version WITH the VF pages
- In the patch update all VF pages to simply <apex:page/>
- Upgrade the customer to the patch version
- Upgrade the customer to the latest full version with the pages deleted
Basically, you need to upgrade to a version with the metadata modified to not reference anything first then you can update to the packages with the metadata deleted.Please let us know if this helps.
Regards,
Nagendra.
As it is a component not referenced by any page, should I then update it to from
Cheers,
Jorg
Yes, if that component is not referenced by any visual force page then you can update the component as above.
Mark this as solved if it helps.
Thanks,
Nagendra.
(but I can delete it :-/)
So the option is Will that allow to upgrade to a (non-patch) version where the component was deleted?
(seems there is no un-delete?)
Cheers,
Jorg
I am not pretty much sure on that, I guess it should allow you to upgrade.Still, you can give a try by attempting the above once.
Regards,
Nagendra.