EnjoySharePoint YouTube Channel

Deploy new version webpart from old webpart in SharePoint 2010

In this post, we will discuss how to deploy a new version web part from old web part in SharePoint server 2010.

Get Office 365 Enterprise E3 Or Business Premium Subscription & Try out all the features

Also, you can check out:

Steps to create a private App Catalog and upload our app in SharePoint 2013

How to create a udcx file for Main Data Connection in Infopath?

Enable Sign in as Different User Option in SharePoint 2013

I want to upload a new version of the web part in SharePoint Site collection in replace of my old web part. In this web part, I added some advanced functionality and I create the .wsp file from visual studio 2010 as a same old web part.

Please remember when you added the functionality in your old web part you should we use an old solution where you create your old web part in visual studio 2010. No need for the new solution or new web part. You just open your old web part or solution in visual studio 2010 and add the new functionality. And also remember you don’t deploy the web part just add the functionality and after this create the new .wsp file and follow these step:

1. Open PowerShell command and run the following command:

Update-SPSolution –Identity ApplicationWebpart.wsp –LiteralPath C:\WebPart\ForUpgrade\Update\ApplicationWebpart.wsp –GACDeployment

2. After this, you activate the feature in your site collection.

3. Now you able to see the new functionality in your web part.

4. Using this we don’t lose our data from old web part We able to see old data with new functionality.

Check out Best Alternative to InfoPath -> Try Now
You May Also like the Following SharePoint Tutorials:

About Navneet Singh

I am Navneet Singh, Working at C3it software solutions pvt. ltd. in Pune. My core skills are SharePoint 2013, Office 365, SharePoint 2010, SharePoint Designer, SharePoint Designer Workflow, Nintex Workflow, Infopath, Webpart, CSOM/SSOM, Power-shell, C#, ASP.NET and SQL Server.

View all posts by Navneet Singh →