A feature upgrade is an upgrade of features in a SharePoint environment, where special care needs to be taken on content already present i SharePoint affected by the feature upgrade.

learn more… | top users | synonyms

1
vote
1answer
843 views

Add a new Field to a SharePoint List with XML

i had create a list programmatically on Feature_activated. Now i want to add a new Field to my list with an XML File on UpgradeActions from the Feature. I know the solution for add a Field with C#. ...
0
votes
1answer
14 views

Why SharePoint can't activate a dependency feature, while upgrading a feature?

This question is regarding dependency feature activation, while upgrading a feature to latest version. Suppose, There is a feature called MasterFeature_0_0_0_0 and it is being upgraded to ...
0
votes
1answer
19 views

Assembly versioning for Webpart

I have already read many articles about feature versioning/upgrading but somehow I seem to be a blockhead at the moment. My issue is that I do have a webpart which has some code behind which renders ...
0
votes
2answers
27 views

Redeploy solution creating List in a Feature Activation

I have a list in a SharePoint site where I save some data. That list was created on a Feature activation process months ago! Now, I have created new improvements like — added 2 new columns to the ...
0
votes
0answers
43 views

Webpart error post upgrade to 2013, operation could not be completed because the web part is not on the page

I've just finished a content database attach of the primary content DB which is being tested on 2013, whilst there were a number of 'missing' web parts I have encountered an error right on the ...
0
votes
0answers
48 views

Adding a feature in 14 mode on SP2013 throws exception

I have a web application that's running in SP2010 mode on SP2013. I'm running into issues when adding a feature to an SPSite or SPWeb object through the API, only if I specify the compatibility level. ...
0
votes
0answers
15 views

Feature Upgrade: Feature Version always the same between Current and Updated solution?

I have a problem with doing Feature Upgrades. In the Properties of the Feature, I place "0.0.0.3" (current version is 0.0.0.2). I then place the actions I need like so: <?xml version="1.0" ...
1
vote
1answer
77 views

SharePoint Compatability Mode Setting

I've browsed a lot of sites explaining the PowerShell command for Install-SPSolution concerning the Compatability Level setting like the command below. Install-SPSolution -Identity CN.SiteNav.CTs.wsp ...
0
votes
0answers
63 views

Custom Feature Compatibility from SP2010 to SP2013 Question

I have a question concerning the compatibility of my SP2010 custom features in SP2013. Here is my setup: I have a wide range of Farm, Site, and Web features that all interact with each other in a ...
0
votes
2answers
1k views

How to upgrade one specific feature only with powershell

I created a farm feature and then I upgraded it. According to the documentation, the upgrade-spfeature -scope farm will upgrade all features requiring upgrade. Feature upgrade (part 5) – using ...
0
votes
1answer
459 views

Custom Add New Item Form Not Loading After Solution Upgrade

On my farm solution, I am creating custom Site Collection Definition, Content Type and new List based on that Content Type. For the List, I created custom form and added it to the list Schema.xml as ...
2
votes
5answers
2k views

Adding new webparts to an already deployed solution

I have a webpart project built in visual studio 2010 and it has been deployed successfully to my production environment. I recently had to make some changes to the webpart and also needed to add a ...
0
votes
1answer
83 views

InfoPath form/List for a site still using SharePoint2007 interface inside SharePoint2010 environment. (timeline sensitive)

We recently completed a SharePoint 2007-2010 Migration last year. We have some sites that are using custom branding, and we've kept these sites using the 07 interface in order to prevent any broken ...
1
vote
0answers
53 views

Getting custom form to work in Sharepoint 2010

I built a custom new form for a page and in the schema file I did the following: <Form Type="NewForm" Url="NewForm.aspx" WebPartZoneID="Main" /> So it looks for my custom form. It works fine ...
3
votes
1answer
5k views

What are the PSConfig.exe -cmd upgrade risks?

I am about to run the following command in production but I would like a solid understanding of what could break. We ran this command on QA environments, but we don't know if everything is in fact ...
6
votes
2answers
859 views

Upgraded instances of a workflow become 'stuck' and do not pickup OnTaskChanged Activities

I have a very simple workflow as seen here: When a user goes to act on a task, they are presented with an InfoPath form. The form displays some information. The user either selected 'Approve' or ...
0
votes
1answer
93 views

Add custom code for solution upgrade

I have a solution for SP2010. Let's call it s.wsp. I had version 1 of s.wsp and now I have version 2 of s.wsp. Versions 1 and 2 share three common features: A, B and C. Version 2 adds a new feature D. ...
0
votes
1answer
272 views

Updated feature not deploying NEW web parts when using powershell

I have added a new web part to a feature of existing web parts in a wsp solution. If I manually go to a site collection and deactivate and reactivate the feature via site collection features, the new ...
2
votes
3answers
273 views

Update-SPSolution & Items in a Document Library

I have the following situation: solution1.wsp that has a document library with files inside (I use a module element for adding new files to the feature) and solution2.wsp that has a document library ...
3
votes
3answers
983 views

Update Feature automatically

I have developed an update for a SharePoint 2010 solution. This update defines some upgrades for some of the included features (the upgrade are managed via the new FeatureUpgraded receiver event). I ...
0
votes
2answers
198 views

Updating existing sharepoint sites?

We have a set of custom site definitions, around 12 in total, that makes up a large sharepoint 2010 intranet application (circa 40,000 sub-sites) that has been deployed for a few years now. One of ...
0
votes
2answers
345 views

feature upgrading question

So I have read all Chris OBrien Feature upgrading blogs and I have a big question. Lets suppose that I want to create a site from scratch and I want to activate a feature that has a feature activated ...
2
votes
1answer
2k views

How to add a field to a contenttype with feature upgrade, for NEW and existing sites

So, I have been using feature upgrading for a while, it works pretty well for existing instances, but as far as I know feature upgrade does not happen automatically, you need to trigger the upgrade, ...
1
vote
0answers
97 views

Help understand ContentType/List upgrade

Everywhere i read on the web it says that Content Types and List once deployed through Xml files they cannot be updated anymore. I have created a VS 2010 solution, created a SharePoint List ...
3
votes
3answers
349 views

Deploying SharePoint 2010 WSP to MOSS 2007

Please help me on this. Is it possible to deploy a WSP solution developed in SharePoint 2010 to SharePoint 2007. I know this is very akward question, but right now I am asked this very same question ...
0
votes
1answer
174 views

How do I add a new ContentType using Feature Upgrading?

I have created a new Content Type. How do I publish it using Update-SPSolution and feature upgrading? I added the following Code to my Feature Manifest: <UpgradeActions> <VersionRange ...
1
vote
1answer
362 views

How Do I Rename a List Instance's Field's StaticName in FeatureUpdating?

I am creating a custom WSP in Visual Studio. This solution has several custom content types with custom fields as well as a list instance with content types enabled. Unfortunately, i need to change ...
1
vote
2answers
412 views

Feature upgrade, new item receiver

I need to create an item updating event for an existing list in an existing solution I just checked and there is already a feature for that, the question here is for this type of upgrade do I need to ...
5
votes
3answers
2k views

When will be the next SharePoint version coming?

I can't wait for a better version of SharePoint. I heard that the next version is SharePoint 2012 but now we have reach year 2012 but yet not receive any news on the beta version or even alpha version ...
0
votes
1answer
441 views

Feature Upgrading - Adding an existing content type to a list definition

My question is: how do I add an existing content type (say the OOTB "Contact" content type) to an list instance definition (for "Shared Documents") in my site definition solution? Background: I have ...
0
votes
2answers
867 views

SPFields in a list with content types enabled is not updating as expected

There is a big piece of the puzzle i am missing here. I have a list with content types enabled. I am programatically trying to add an option to some choice fields in the featureupgrading method. The ...
0
votes
2answers
224 views

Why feature is linking old dwp version?

I had deployed feature with web part, assembly version 1.0.0.0. Then I have implement some changes in my solution and changed assembly number to 1.0.0.1. WebPart and feature version has been changed ...
0
votes
1answer
95 views

Rerun failed Feature Upgrade

Is it possible to rerun a feature upgrade? I have this situation where the feature upgrade fails to create a SitePage. The feature version is updated, is there some way to rerun the upgrade without ...
1
vote
2answers
401 views

Powershell query features returns wrong result

I'm currently writing a powershell script which upgrades a set of solutions then a set of features from those solutions. After the solution upgrades everything looks great until I Call QueryFeatures ...
1
vote
1answer
643 views

removing a sharepoint solution duplicates entry in web.config?

My intentions is to be able to add and remove web.config changes when a solution is installed or uninstalled. The code below and the powershell below works ALMOST as expected. When I add sp ...
1
vote
2answers
337 views

How to upgrade a specific aspx or ascx file in an existing solution

In the current project, the solution is already existing, the solution has like 5 features and each feature deploys different things. The current development never used feature versions. So I ...
3
votes
1answer
240 views

Content Deployment job failing because of mismatched feature versions

I have content deployment (using database snapshots) configured between an authoring and production SharePoint 2010 environment. I have a feature called PublishingContent_ContentTypes which I ...
2
votes
1answer
648 views

How do I create Upgrade actions in the Feature.xml file using Visual Studio?

We have a solution in Visual Studio 2010 for a SharePoint 2010 application that is currently in Production (version 1.0.0.0). I am making some changes to the solution to be deployed as version ...
2
votes
1answer
2k views

Updating list definition using features

I have a feature that deploys content types, a list definition and template that uses these content types and finally a list instance. This feature is already in production. Now we have a change ...
3
votes
2answers
350 views

Activating a Feature that has been upgraded multiple times for the first time on a new site

I have a feature that has been upgraded a couple of times to add new fields to a content type. The feature started as version 1.0.0.0 and was deployed and activated at the site collection level. As ...
3
votes
2answers
114 views

Visual studio retracts and reinstalls my features, can I tell it to just update?

It appears Visual Studio 2010's out of the box functionality for Deploy retracts and installs my features. Can I tell it instead to perform an update-spsolution instead of removing the entire thing? ...
3
votes
1answer
1k views

Changing SharePoint 2010 Feature name and installation directory after deployment

I need to change the name and installation directory of some features that are already deployed in a client's environment. I can change the feature name from the feature designer, and change the ...
0
votes
2answers
674 views

Feature Upgrade Retract Deploy Power Shell Commands

I have heard that one way that you can upgrade a feature in SharePoint with new files is to do a retract deploy. I believe this is what Visual Studio 2010 does when you do a Deploy. What are the Power ...
0
votes
1answer
535 views

Event receiver feature update

I am developing an event receiver in VS2010. To test the event receiver I deploy it to development using the functionality within VS 2010. This works without problems. However my concerns start when ...
1
vote
0answers
41 views

Which Web Parts should get installed in SP2010 Update?

Per Dave Wise's answer(http://sharepoint.stackexchange.com/questions/13110/get-web-part-name-from-guid): Thanks, that worked great. However, even though my SQL Query returned 9000 results, about 18 of ...
1
vote
1answer
588 views

Updating a feature images not updated

The systems team updated a feature for me. The feature added a new favicon and a new image. The new files added in my feature where not deployed to the style library. Existing files were updated. I ...
5
votes
1answer
2k views

Choice field changed - How to propagate the change down to all lists that used it?

I have a feature (Web scoped) with a content type which contains a field (Type="Choice"). Values were A, B and C. I've created a list based on this content type and added some elements in it. I ...
2
votes
1answer
3k views

Does Update-SPSolution trigger a SPFeature.Upgrade()?

I'm looking into Feature versioning and upgrading in SharePoint 2010 and I don't know exactly if the Update-SPSolution cmdlet triggers a SPFeature.Upgrade(). Are <UpgradeActions> elements ...
0
votes
1answer
139 views

Find out feature version for list's content type

I have a feature which contains a custom content type. I've created a list based on this content type then proceeded into changing the feature version and performing an upgrade. I have ...
0
votes
1answer
167 views

Versioning and upgrading features with SharePoint 2010 [closed]

I've been experimenting with feature version-ing and upgrading in Sharepoint 2010 and found a bunch of blogs, documentations etc. but it is still not very clear to me. How does Sharepoint store the ...