You need to sign in to do that
Don't have an account?
naresh reddy 18
downgrading managed package
HI Friends,
I need help urgently to this question. I have a managed package of version 5 on appexhange. Many customers are using it.While working on the upgrade of version 6 I removed some apex pages and classes which were developed in version 1 and which I am not using at all. Now I released 6 beta version. and when I try to test it in my testing instance, I am unable to upgrade my testing instance to version 6 beta. While upgrading it throughing error
"Salesforce has blocked this package upgrade because the new package version removes some Apex code that one or more Visualforce pages or global Visualforce components need in order to function. Please contact your partner with this error information. Provide these component names to your partner. Visualforce Pages:"
Now my question is can salesfroce support downgrade my package to version 5 in my development instace with all my classes and pages?
Thanks,
Naresh.
I need help urgently to this question. I have a managed package of version 5 on appexhange. Many customers are using it.While working on the upgrade of version 6 I removed some apex pages and classes which were developed in version 1 and which I am not using at all. Now I released 6 beta version. and when I try to test it in my testing instance, I am unable to upgrade my testing instance to version 6 beta. While upgrading it throughing error
"Salesforce has blocked this package upgrade because the new package version removes some Apex code that one or more Visualforce pages or global Visualforce components need in order to function. Please contact your partner with this error information. Provide these component names to your partner. Visualforce Pages:"
Now my question is can salesfroce support downgrade my package to version 5 in my development instace with all my classes and pages?
Thanks,
Naresh.
The only solution is, you can create a patch instance with your old managed package where all pages and classes exist. In this patch instance, you need to remove the relationship between pages and classes, and you should not delete any pages here. Just you need to break the relationship. After this, upload the package from your patch instance.
Now upgrade your test instance with patch version first then upgrade to latest released version.
Thanks,
Naresh
All Answers
The only solution is, you can create a patch instance with your old managed package where all pages and classes exist. In this patch instance, you need to remove the relationship between pages and classes, and you should not delete any pages here. Just you need to break the relationship. After this, upload the package from your patch instance.
Now upgrade your test instance with patch version first then upgrade to latest released version.
Thanks,
Naresh