Archive for October, 2011

Hyperlink/Picture Column does not display image

October 24, 2011

I came across a very interesting issue. I had a simple custom SharePoint List library. One of the columns was a “headshot” formatted as a Picture to allow users to paste in a URL of their pictures.

In a SharePoint list view, the picture came out wonderfully. However, I wanted to be a little creative in SharePoint Designer.

So I created my data view and dragged my columns onto the page.


The Headshot value turned out to be something like this on the page. “http://intranet-porta/headshots/uzma1.jpg,”

When formatting the “@Headshot” value as a picture link was broken. All images in the list turned out to have an extra “,” at the end of the URL.

The work around is to create a XSL attribute, in my example, I created:


<xsl:attribute name=”src”>

<xsl:value-of select=”substring-before(@Headshot,’,’)” />



And it works like magic!


Email attachments from a Document Library in SharePoint 2010

October 20, 2011

I have had to look into how we can email attachments from Document Libraries in SharePoint 2010.

Bear in mind, Microsoft will only allow you to email links out but is a little annoying when you have to use Windows Explorer and manage your documents (esp if you have hundreds!) so I have found a lovely Codeplex solution to do the job for me!

Check it out, works beautifully:

Ensure that your outgoing SMTP server is specified correctly in CA to.

SharePoint Designer 2010

October 19, 2011

I will highly recommend Penny Coventry’s SharePoint Deisgner 2010 step by step book. I have had a particular interest in workflows over the last few months and have made a great solution for a new employee workflow! Fantastic book and update to the SharePoint world!!
Fairly good price on Amazon: