No Image

SharePoint + Visual Studio + Get Current User

May 4, 2011 Matt Thornton 1

A frequently asked question in the MSDN forums is “how you can get access to the user who is interacting with your workflow?”. For example, the user modifying a task. The workflow is likely running in a different context and/or session to your browser session so there’s not an obvious […]

No Image

Tip: infopath comments and newline textbox

April 26, 2011 Matt Thornton 8

One method for persisting data in a SharePoint environment is the use of Infopath forms. Infopath stores data in your form in XML format. I have a form which has a “comments” box where people add new comments as they progressively update the form and a “consolidate comments” box which […]

No Image

new SPSite – FileNotFoundException

February 2, 2011 Matt Thornton 12

It seems to me that every SharePoint developer, at some point in their career, will encounter this particular error. It’s one of those infuriatingly obtuse errors that could be caused by a multitude of different issues – either individually or cumulatively. In my case, I was in the middle of […]

No Image

Guide: MOSS 2007 Multiple site collections on Port 80

December 9, 2010 Matt Thornton 0

Requirement: multiple site collections on port 80 on unique URLs in SharePoint 2007, e.g,. http://democlient1, http://someotherdemo The scenario: you have one development machine which you use for multiple clients. Because of this, you want to host multiple site collections and allow a unique URL for each, without having to specify […]