Accessing the SharePoint Secure Store through code

The Secure Store Service in SharePoint 2010 is a shared service that provides a secure storage and mapping of credentials such as account names and passwords which can be used for accessing external systems.

In this article, I’ll demonstrate how to setup a new Target Application in SharePoint 2010 as well as demonstrate how to access this information through code. We will use the Secure Store to store information needed to access an external database which will be used by..

Read more "Accessing the SharePoint Secure Store through code"

My SharePoint 2010 Development Toolbox

I thought I would share the tools that I use everyday in my SharePoint 2010 development environment. Visual Studio 2010 Visual Studio now has some great enhancements for SharePoint developers, particular around the packaging and deployment of SharePoint solutions. CKS: Development Tools This project extends Visual Studio 2010 with some great tools and templates. I […]

Read more "My SharePoint 2010 Development Toolbox"

How to set an Expiration Policy through code

I’ve been working on a project that requires custom site provisioning through code based on the information a user completes in a form.  A workflow creates a new site collection, sub site, and a list within the sub site. It also sets some basic security and adds a custom content type to the site collection (which is used by the list).

Another requirement was to delete any items in the list that past a 72 month expiration. A SharePoint Information Management Policy would work to…

Read more "How to set an Expiration Policy through code"