Archive for October 22, 2009

SharePoint WebPart Content Updater

I’ve recently written a small utility class for SharePoint and thought I’d share it with the community. The class allows you to automate the creation, modification or deletion of WebParts and their content on any number of SharePoint pages.

It came from a requirement to automate the updating of an active site with new functionality, such as adding a WebPart in a specific zone of a particular page or changing the properties of other WebParts. Obviously some of this could be implemented by changing the elements manifest for the pages in question, but this would effectively replace the content with what was defined in the manifest. I needed a way of modifying certain WebParts while leaving changes made by end users intact.

Read more

Follow

Get every new post delivered to your Inbox

Join other followers: