0
votes
1answer
99 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. ...
2
votes
1answer
3k 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, ...
0
votes
2answers
408 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 ...
0
votes
1answer
613 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 ...
1
vote
1answer
732 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
384 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 ...
0
votes
1answer
481 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 ...
6
votes
2answers
928 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
2answers
726 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 ...
1
vote
1answer
630 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 ...
0
votes
2answers
308 views

Upgrading site definition

I have a question about the upgrade process for features in SharePoint. In my feature, I'm deploying a custom site template along with a couple of list definitions, webparts, etc. Now when I upgrade ...