SharePoint: Purloining, Reusing and Customizing the ECB Menu System Part 1


In this series; Purloining, Reusing and Customizing the ECB Menu System Part 1 Purloining, Reusing and Customizing the ECB Menu System Part 2 This series by Jan Tielens on customizing the ECB with Javascript is useful reading in conjunction with this post. Part 1 Part 2 Part 3 This post was supposed to be about … Continue reading SharePoint: Purloining, Reusing and Customizing the ECB Menu System Part 1

SharePoint 2010 Document Lifecycle from an Event Receiver Point of View


On a recent project I needed to write an Event Receiver for a document library which set item level security on the document library items. Given the nature of document content management and the various ways in which a document library can be configured (content types, approval, check-in/out, versioning etc) I needed to understand the … Continue reading SharePoint 2010 Document Lifecycle from an Event Receiver Point of View

SharePoint: SPFile.SaveBinary, Updating Office Document Library Items and Automatic Document Property Promotion


Using the Object Model, adding items to a SharePoint document library is easy enough, given the code below you can add a new document library item and set it’s meta data at the same time. But, how to  update a doucment library item? Well given the same document url (LinkFilename) you can just call the … Continue reading SharePoint: SPFile.SaveBinary, Updating Office Document Library Items and Automatic Document Property Promotion

Provision a Content Type with a Document Template using a Feature – Part 2


Provision a Content Type with a Document Template using a Feature – Part 1. Provision a Content Type with a Document Template using a Feature – Part 2. In this post we’ll provision a content type with a document template using a feature. To create the feature we’ll use Visual Studio and WSPBuilder, and we’re … Continue reading Provision a Content Type with a Document Template using a Feature – Part 2

Provision a Content Type with a Document Template using a Feature – Part 1


Provision a Content Type with a Document Template using a Feature – Part 1. Provision a Content Type with a Document Template using a Feature – Part 2. Provisioning a SharePoint Content Type using a feature is straightforward enough, whats not so well documented is configuring the content type to have a custom document template. … Continue reading Provision a Content Type with a Document Template using a Feature – Part 1

SharePoint Document Library and List Column Names


Any time you want to address a Document Library or List using CAML, or you want to populate a Document Library or List item metadata using the Object Model, you invariably need to know the “internal” names of the columns. With CAML you have to use the internal column name, as opposed to the columns … Continue reading SharePoint Document Library and List Column Names