Category Archives: SharePoint

Impersonate SharePoint User

This is a post that I’d imagine most people who have been developing with SharePoint will be aware of but I thought it might be worthwhile blogging about. I’ve seen code where people have tried to impersonate a user to … Continue reading

Posted in SharePoint | Tagged , , | 2 Comments

Temporarily Disable SharePoint Events

Just a quick post to demonstrate how you can disable events (item, list, web and workflow) for the currently running thread. There are many reasons why you may want to do this, one of which could be for a unit … Continue reading

Posted in SharePoint | Tagged , | Leave a comment

External Participant for Task Items

If you’re wondering why you get (External Participant) appended to tasks created with the CreateTask and CreateTaskWithContentType workflow activities and are investigating why it appears that the person who was assigned the task is being marked as an external participant, … Continue reading

Posted in SharePoint, Workflow | Tagged , | Leave a comment

Coding the Creation of Information Management Audit Policy

This is a quick post to demonstrate how you would create or update the Information Rights audit policy for a specific content type in SharePoint. First things first, lets have a look at the method that implements this for us: … Continue reading

Posted in SharePoint | Tagged , | 2 Comments

Package and Deploy a SharePoint Designer Workflow

Note: A sample project containing a simple designer workflow and the code described in this post is available for download here. Workflows created in SharePoint Designer are good when you want to be able to deploy workflows to your customers … Continue reading

Posted in InfoPath, SharePoint | Tagged , | 15 Comments