In previous articles we saw how to install the app/Client side webpart (SPFX). Before we upgrade the app in SharePoint site follow the following things
- Ensure that you have changed the version for the app in app manifest file
- Then upload the .app file in app catalog (here you go for upload the app in app catalog)
When you upload the app again in appcatalog you will get the popup window like below, on pop up click the replace it button.
Once you complete the above steps, then follow the below listed steps to upgrade the app in SharePoint online site
Go to your SharePoint site where you need to upgrade the app
Go to site contents page using gear menu or left navigation as shown below
On the site contents page you can see the app which is installed already,
Then click on ellipse (…) to view the details of the app, on the pop-up click about as shown below
On the about page we have the “GET IT” button, click the button to upgrade the app
After you click “GET IT”, you will get the pop-up like below, then click “Trust it” to update the app,
Finally SharePoint hosted app will be updated on your site with the new version.
In this article we have explored how to upgrade the SharePoint hosted app in SharePoint online site