Sharepoint 2010 List, Content Types and Columns – What’s the Verdict?

Posted in: Blog, SharePoint 2010 |

No comments

We all know that content types, columns and list are the core or the “heart” of Sharepoint. I bet that there will be at least one content type or column that we need to create on every Sharepoint project we do.

 

I had a lot of problems before with MOSS 2007 especially when attaching a custom site content type on a list. When I tried to upgrade the site content type (ie. adding a field, etc), the content type attached on a list somehow is not updated. Yes we’ve got the “Update all content types inheriting from this type” but it never worked correctly. And worse, the list content type may get corrupted because of this!

 

When SP 2010 was first rumoured, I heard that the list content type is no longer a copy of the original. Therefore, any updates to the site content type will be guaranteed passed to ALL child content types attached to any list within the site/sub-sites.

 

Therefore, below is the list of tests I did (TITLE – EXPECTED RESULTS – ACTUAL RESULTS):

1. Deploy a content type feature using WSP – no error – no error.

2. Activate feature in site collection – content type is displayed in site content types – content type is displayed in site content type.

3. Adding site content type to a list – content type is added to the list together with the custom fields – content type is added to the list successfully together with the custom fields.

4. Adding a field to the site content type through Sharepoint GUI – field is added to ALL lists that are using that content type – ALL lists that are using that content type have the new field added successfully.

5. Modifying ContentTypes.xml feature manifest file in Visual Studio 2010 and adding a new field then re-deploy/upgrade the WSP – new field is NOT yet added until feature is de-activated and re-activated – new field does NOT appear just yet.

6. De-activating and re-activating content type feature – new field is added to the site content type and ALL lists inheriting from that content type – field is added ONLY on site content type, lists that inherit from it DO NOT have the new field!

7. Editing the list settings and add the new site column manually – site column is added to the content type successfully – received an error like below but the site columns is actually added successfully.

 

6

 

Unlike MOSS 2007, when I then tried to edit the properties of the newly added field after I received the above message, I could. In MOSS 2007 I simply couldn’t. The field is somehow corrupted.

 

 

Conclusion

Comparing to MOSS 2007, as far as content types and fields are concerned, there are a bit of improvements. At least I can now assure myself that content types and fields will not break as a result of feature deactivating/reactivating even if there are new fields added to it through either Sharepoint directly or Visual Studio WSP.

 

However, in terms of creating a copy of the content type on the list, it’s still the same. If you mouse over on the list content type you’ll be able to see your original content type ID + 00 + new GUID (ie. a copy of the content type). See below:

 

7

 

 

 

I will keep continuing my investigation and I’ll write further blog posts on this.

 

 

Cheers,

Tommy

Written by

A web solution expert who has passion in website technologies. Tommy has been in the web industry for more than 10 years. He started his career as a PHP developer and has now specialized in ASP.NET, SharePoint and MS CRM. During his career he has also been in many roles: system tester, business analyst, deployment and QA manager, team and practice leader and IT manager.

No Comments Yet.

Leave a Reply

You must be logged in to post a comment.

Our Services

We provides you the best Services in our themes.

  • Click on the link below to see a full list of clients which we have developed solutions and provided consultancy for.

    READ MORE

  • We are solution-centered and not application-centered.

    READ MORE

  • Being creative and having fun and yet still delivering a fantastic service is the center of our values.

    READ MORE

  • TFS Consulting Services guarantees delivery that is within budget and deadline or you engage us for free.

    READ MORE

Implementing IT does not have to be difficult.

As long as you have the right methodologies

We have heard a lot of complaints from our clients that IT a lot of the times give them headache. The issues range from over-budget implementation, server is too hard to maintain, application is not user friendly, features not complete and many others. If you have ever experienced similar situations, don’t worry. This is why TFS Consulting Services is here. We exist to help clients implementing a successful IT solution. We have various methodologies which we have proven working in delivering a successful IT implementation. Below is the list of some of our key service offerings:
  • Planning and Methodologies

    Implementing IT solution does not have to be difficult. TFS Consulting Services has a lot of resources on planning and methodologies that will ensure successful delivery of your IT solution. TFS Consulting Services has been around in the web industry for more than 10 years and has experienced all the successes and failures of various type of IT deployment.

    read more

  • Technical Resource

    Do you need a technical resource? TFS Consulting Services can also provide you with technical resource for developing ASP.NET (C# and VB.NET), SharePoint (2003, 2007, 2010, 2013) and MS CRM applications. Our resource is an Microsoft Certified Personnel (MVP) and Microsoft Certified Technology Specialist (MCTS) in all ASP.NET, SharePoint and CRM.

    read more

  • IT Consulting & Advice

    Make sure your IT implementation is robust and scalable. TFS Consulting Services can provide consulting and advice on industry’s best practice on various web-related areas such as website security, design and usability, application-specific (such as SharePoint)’s best practice, Search Engine Optimisation (SEO), coding standards and many others.

    read more

  • Solution Development

    Finally TFS Consulting Services provides you with solution development service. We mainly work with Microsoft technologies (ie. .NET and SQL Server), however we are also capable of developing with PHP and MySQL. If you ever need any business process automation, integration and solution development work,  we are the trusted expert you should go to.

    read more

For more detailed service offerings please visit our Solutions page.

Testimonials

  • I’m happy to recommend Tommy as a knowledgeable and diligent developer.

    Mike Stringfellow, Vivid Group
  • Tommy has a lot of great ideas that can be delivered into great products. It’s a pleasure working with him because he has a broad knowledge about available technologies out there and he knows what’s best for the client’s needs. He just knows how to work effectively and efficiently.

    Teddy Segoro, Student Edge
  • I’ve worked with Tommy over the past 6 months and have found his approach to development (especially SharePoint) absolutely outstanding. Tommy goes beyond the boundries of typical software development with his ability understand what a client requires and then build it into fully fledged software solution. Coupled with his professional “Best Practice” approach, you get Continue Reading

    Michael Bonham, DSC-IT

Contact us

Tommy Segoro
tommy@tfsconsulting.com.au
+61 404 457 754

   

© TFS Consulting Services 2025. All rights reserved.

www.incorporator.com.au