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
Jive JIFJive JIF 

How can I push a package update?

Hello,

We are an ISV and previously we published a version of our managed package to AppExchange, and several of our customers installed it. Recently we published an updated version of the package to AppExchange, and because this new version contains several bug fixes we would like to push this new version to our existing customers. 

How can we force our customers to upgrade to the latest version without asking them to manually uninstall the old version and install the new version? the AppExchange page says "Upgradable", so we hope it is possible.

Thanks.
Khan AnasKhan Anas (Salesforce Developers) 
Hi,

Greetings to you!

A push upgrade is a method of automatically upgrading your customers to a newer version of your package. This feature works with managed packages only and can be used to ensure that all your customers are on the same or latest version of your package. You can push an upgrade to any number of organizations that have installed your managed package.

A package subscriber doesn’t need to do anything to receive the push upgrade. The only indication a subscriber receives after a successful push upgrade is that the package’s Version Number on the Package Detail page has a higher value. The developer initiating the push resolves upgrades that fail. You can also exclude specific subscriber orgs from the push upgrade by entering the org IDs, separated by a comma, in the Push Upgrade Exclusion List.

Please refer to the below links which might help you further with the above requirement.

https://blog.bessereau.eu/assets/pdfs/salesforce_packaging_guide.pdf

https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/packaging_push_about.htm

https://medium.com/inside-the-salesforce-ecosystem/using-push-upgrade-api-to-automate-package-upgrade-process-c9e2ff4cb8df

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas
Devi ChandrikaDevi Chandrika (Salesforce Developers) 
Hi Jive ,
Please refer below link which might help you in this
https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/packaging_push_about.htm
(https://help.salesforce.com/articleView?id=push_scheduling_upgrades.htm&type=5)


Hope this helps you
If this helps kindly mark it as solved so that it may help others in future.

Thanks and Regards
 
Jive JIFJive JIF
Hello Devi, hi Khan,

Thanks for the links, they are very interesting. Unfortunately I do not have Schedule an Upgrade and Create a Patch Organization buttons on the UI :(

Do you have any idea why is that?

Thanks for your help.
Jive JIFJive JIF
Finally Salesforce support enabled Push Upgrades in our organizations, so the buttons that are mentioned in the help guides appear and I could schedule a push upgrade.

Thanks for your help.