Thursday, July 23, 2009

Sharepoint 2007: Updating Content Type

Maybe you have already happen to know that updating already deployed content type through changing schema - IS IT IMPOSSIBLE!

Don't be frustrated about it - I did a research recently - Here are very useful topics about it:
1. First of all, let's look what CREATOR says:
http://msdn.microsoft.com/en-us/library/aa543504.aspx

2. Here is an example what ppl could do in this case:
http://soerennielsen.wordpress.com/2007/09/11/propagate-site-content-types-to-list-content-types/

3. And a very extreme approach (wouldn't recommend you to do)
http://oricode.wordpress.com/2008/12/08/change-an-item-content-type-with-a-sql-query/
http://soerennielsen.wordpress.com/2007/09/08/convert-%E2%80%9Dvirtual-content-types%E2%80%9D-to-physical/

In my case - I need to add new fields to list content type - I ended up with changing schema by adding new fields and change content type through web interface by adding fields that were appeared after re-activating feature-list.