Skip to main content

Posts

Showing posts with the label Visual Studio 2010

LinkedIn discussion about Content Type as Feature

Have got some good conversation about Content Type Hub and alternative solution that I suggested in the recent post : Details on LinkedIn

Transfer SharePoint solution from VS 2008 to VS 2010

Scenario There is a solution for SharePoint created in Visual Studio 2008 for SharePoint 2007. The task is to transfer this application to Visual Studio 2010 in order to deploy the same functionality on SharePoint 2010. Initial solution structure 1. List Event Handler 2. Feature that on activating: creates a sub-site, content types, lists and initial data, registers list event handler for the list and sets up permissions for the sub-site 3. Web Part 4. Application page which is deployed to _LAYOUTS folder and where the Web Part is displayed. Ok girls and boys, the process 1. Create a new project of type Empty SharePoint Project in Visual Studio 2010: 2. When the project is being created select a "Deploy as farm solution" option: 3. Empty project created! Now we will add List Event Handler: We choose Custom List as a list type and "An item is being updated" as an event type to handle: The full list of available event types is as follows: ...