Home > SharePoint 2010, SharePoint Tools > Reverse-engineer SharePoint fields, content types and list instance—Part2

Reverse-engineer SharePoint fields, content types and list instance—Part2

Reverse-engineer SharePoint fields, content types and list instance—Part1

Reverse-engineer SharePoint fields, content types and list instance—Part2

Reverse-engineer SharePoint fields, content types and list instance—Part3

Reverse-engineer SharePoint fields, content types and list instance—Part4

In the part1 of this series, I demonstrated how to use VS2010 to Reverse-engineer SharePoint fields, content types and list instances. In the part 2 of this series, I will demonstrate how to do the same using CKS:Dev. CKS:Dev extends the Visual Studio 2010 SharePoint project system with advanced templates and tools. Using these extensions you will be able to find relevant information from your SharePoint environments without leaving Visual Studio. You will have greater productivity while developing SharePoint components and you will have greater deployment capabilities on your local SharePoint installation.

You can download the complete solution here.

1. First, download and install appropriate CKS:Dev from CodePlex.

If you are using SharePoint Foundation 2010 then download and install the SharePoint Foundation 2010 version

If you are using SharePoint Server 2010 then download and install the SharePoint Server 2010 version

2. After installation, you need to restart your visual studio and create empty SharePoint.

3. Go to Viewà Server Explorer

4. Add SharePoint web application connection to the server explorer.

5. After add the connection, you can browse to see the contents for the Web Application.

6. Go to Site Columns à YBBEST (Custom Group of you own choice) and right-click the YBBEST Folder and Click Import Site Columns.

7. Go to ContentTypesà YBBEST (Custom Group of you own choice) and right-click the YBBEST Folder and Click Import Content Types.

8. After the import completes, you can find the fields and contentTypes in the SharePoint project below. Of course you need to do some modification to your current project to make it work.

9. Next, create list instances using list instance item template in Visual Studio

10. Finally, create lookup columns using the feature receivers and the final project will look like this.

You can download the complete solution here.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: