Category: Programming

Using the undocumented SPUtility.SendEmail method.

As with a lot of the sharePoint API, the SPUtility class and more importantly the sendEMail method lacks a decent amount of documentation on its use. After a little bit of playing around with a console session, I’ve found what seems to be the best way to use this function. (For me at least.. feel …

Continue reading

Field Type errors in webparts.

I’ve been making some changes to the Summaries webPart this week following the successful beta with the users. The key problem I hit was an unexpected error when changing one of the selected views in the web part. I received a very helpful “One or more field types are not installed properly. Go to the …

Continue reading

State Machine.. like pulling teeth?

Well almost, Had a minor break from the work this morning to have a cracked tooth looked at, Unfortunatley it was too badly damaged and it’s had to come out.. Well the novocain or whatever they use nowadays has well and truly worn out and yours truly is hitting the Ibuprofen hard!! So, to ease …

Continue reading

Dropdown option lists in webpart personalisation menus

I’ve been writing my own SharePoint webparts for a few months now and have been quite happy using personalisation options to provide a certain degree of control during runtime from the Edit Shared Webpart properties menu. All of these controls have either been using a text box entry or a tick box boolean, Until now …

Continue reading

On the subject of disposal.

I came cross a very good Blogpost by Roger Lamb on he subject of Object disposal within the SharePoint namespace. For anyone even contemplating traversing the object model within Webparts, ASPX pages or workflow, then I would recommend having a very good read!! Roger Lamb’s Object Disposal blog post.. Reg.

Encore en fois.. Home again..

After a very eventful weeks snowboarding, I’m back in Blighty again and once more on the SharePoint development trail. The project suffered a minor set-back as I return from holiday with a broken nose and a re-injured back from a couple of bad falls. Nothing too major, but I also picked up a chest infection …

Continue reading

2008 – Whats it going to bring….

Well 2007 closed down with a rush, I’m not even certain where December went it passed so quickly. On the project front, I had to rush to complete all the changes required by the project manager, and just at the end, scope creep reared it’s head again. In the end, I release only the first …

Continue reading

Adding business hours….

Part of our workflows have some time critical tasks. In this particular instance, there is a measurable KPI of 12 business hours to respond to an event. The DateTime construct is very useful for date manipulation, but does not appear to provide an easy way to understand Business Hours. So how to go about tracking …

Continue reading

Conundrum:- Checking item lock status

One of the problems that has reared it’s head recently is workflows dying during an update due to an item being locked. This happens from time to time when the workflow tries to update the item that it’s running on. The upshot of this is, that if I haven’t handled the error with a Try/Catch, …

Continue reading

Web Services Toolkit..

I’m not going to focus long on this as the Web Service Toolkit from microsoft is awsome and very easy to use. When I get a chance, I’ll dig out the short article I followed on consuming web services from within Excel 2003. For now though, get the Web Services Toolkit for VBA from Microsoft …

Continue reading