Reusable Feature Receiver for Updating Content Types(blog.inklinked.com)

submitted by schalkvanwykschalkvanwyk(1335) 3 years, 1 month ago

One of the common activities in maintaining SharePoint applications is versioning or updating a content type. It’s like upgrading a table schema in a database. This is a topic the patterns & practices team is currently tackling in their SharePoint guidance. As we’ve found out there are many ways to skin a cat. The approach we took involved writing a Feature Receiver to update the content types through the SharePoint OM. The nice thing about this approach is that the Update method on the SPContentType class is overloaded so that you can update any children of that content type. This includes any lists that may be enabled for the content type you’re updating.

add a comment |category: |Views: 25

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story