The great thing about having children is being pseudo-tuned in to pop culture. As I got into the car with my teenager the other day, we commenced our daily battle for control of the radio. Since I was driving and paying attention to the road, he won and I was hostage to his musical whims. This song came on, which is the title of this article, and it was catchy. My mind, never far from SharePoint, played the title over and over. Later that day, as I was working to make a few technologies work together, it clicked. Several lessons ensued.
Everybody talks. Here was my first issue:
The answer to the first issue was to add single quotes around the @Link. However, you cannot just place quotes there. You have to use a concat statement and the representation of quotes. After some research, I got the following to work:
That darn space again! I tried a lot of different options, but it was my project manager who had seen something like this in the past. He suggested surrounding the link with brackets as so:
body = “<”+link+”>”;
This worked fantastically. I did not have to write server-side code and I did not have to recreate the library without spaces and move all that data; it’s metadata and associated references across the site. Everybody talks.
The moral of this story is not just showing you some good technical content (like I just did), but that everybody talked. A problem was solved not just technically but because project management and developers talked and listened. I’ve been doing this 20 years and I know that I don’t know everything.
My son does know some things too! As a Dad, I am 20 years in, and that song is catchy!
Peter Serzo is a published author of the “SharePoint 2010 Administration Cookbook,” a founder of the SouthEastern SharePoint group, a speaker, and SharePoint Architect for High Monkey Consulting. Peter has been in the IT industry for 20 years. He has extensive experience with SharePoint implementing business solutions for several enterprise organizations over the past seven years.