CKS:DEV soon with even more support for Content Types and Site Columns


Defining custom Site Columns and Content Types is the very basis of almost every SharePoint project. Using Site Columns and Content Types you can define the information architecture of your Solution. And although this process is something that is very important and something you do very often, it is surprising how little support there is for it from the development point of view that would allow you to do it in a productive manner. CKS:DEV has already had some support around Content Types and Site Columns but still it was far from ideal, so including some improvements in that area was something we couldn’t really leave behind…

Content Types Groups

One of the new features in the next release of CKS:DEV is the grouped view of Site Content Types: just as you see them on the Site Settings > Site Content Types page.

Grouped view of Site Content Types in the Visual Studio Server Explorer

This view not only allows you to browse through the Content Types more easily and consistent with the SharePoint Web UI, but it also has one very important and useful feature.

One of the features provided with CKS:DEV is the ability of importing existing Content Types into your SharePoint project. This feature allows you to create and configure your Content Types using the SharePoint Web UI, and once you’re done import those Content Types into your project. While this feature was a great improvement of the development process, it was still pretty inconvenient, especially if you had not one but ten or twenty Content Types that had to be imported.

With addition of the Content Types Groups in the next release of CKS:DEV you will be able to import all Content Types from the specific group into your SharePoint Project with a single mouse click!

Import Content Types menu option on a Content Type Group

The only downside here is the limitation of the current extensibility API of the Visual Studio 2010 SharePoint Developer Tools. At this moment you cannot either hide or remove any of the existing nodes, so eventually you will end up with both full and grouped view of available Site Content Types.

Site Columns Groups

Just recently we added to CKS:DEV support for importing Fields (Columns) into SharePoint Project. Similar to Content Types, importing Site Columns is a tedious process. The big difference is that when you might have just a few Content Types you will very likely end up with many more Site Columns, so doing all of it manually is just very time consuming.

In the next release of CKS:DEV we will be shipping a new node called Site Columns, which will provide a grouped view of available Site Columns.

New Site Columns node provided with the next release of CKS:DEV

Additionally it allows you to import a single Field but also a whole group into your project with a single mouse click!

Importing Site Columns from a group using CKS:DEV

Multiple fields automatically added to a SharePoint Project during the Import Site Columns process

Other stuff

Site Columns and Content Types are not the only area we’ve been improving for the next release. We’ve done some minor bug fixes and included some improvements suggested by the users of CKS:DEV. You can find more information about our work on the CKS:DEV Issue Tracker page. Also if you have any suggestions for future feature that’s the place to add it to.

Although the exact details about the next release are still to come, all I can say now is that it will be very soon and very exciting and if you are developer you should really stay in touch for the updates. Oh, and if you don’t want to wait on the official release, you can always grab the latest source and build your own version of CKS:DEV!

Technorati Tags: SharePoint 2010,Visual Studio 2010,CKS:DEV

Others found also helpful: