Category Archives: SharePoint

SharePoint On-Premises vs. Cloud

Posted by on April 27, 2013 at 7:45 am.

I saw this and thought it was too funny not to post. Credit for this one goes to my colleague Mr. Jody Finch (I’d recommend checking out his awesome blog series on SharePoint Search).


I’m Speaking at SharePoint Saturday!

Posted by on April 23, 2013 at 9:00 pm.

It’s been far too long since I’ve posted, but now’s a good a time as any. I’m going to be speaking at both SharePoint Saturday Boston this Saturday (4/27) and also SharePoint Saturday Baltimore again this year (5/18).

Details on both are below. I know SPS Boston is already sold old (tickets went quick!) but I’ll make my slides and demo available after the event.

spsboston_logo SharePoint Saturday Boston
April 27th, 2013
2012_SPS_Logo_300 SharePoint Saturday Baltimore
May 18th, 2013

Balsamiq Wireframes Quickstart Guide

Posted by on October 29, 2012 at 12:21 pm.

One of my favorite tools for making design and UI/UX wire frames is Balsamiq mockups. I know I’ve mentioned this tool many times before and referred to it in presentations, but it really is an awesome tool. I made a simple template in another post for making SharePoint mockups you can download here.

Packt Publishing just released a pretty slick book titled Balsamiq Wireframes Quickstart Guide by Scott Faranello. I’ve been reviewing the book and it’s a great reference for everything from installing the software to file formats, custom objects, design best practices, and more! It’s definitely worth checking out if you need to make wire frame mockups for user interface design or custom look and feel, in SharePoint and other applications.

You can get the book as an eBook or in hard copy online, as well as book reviews and topics covered on the Packt Publishing book page here.

Book Approach (from Packt Publishing):
“This book is a step-by-step guide to learning Balsamiq Mockups and wireframing in general. Written in an engaging, easy to follow style and flow, readers can utilize free, downloadable templates that teach by building upon previous chapters until each lesson is learned and applied, ensuring true learning, not just memorization.” 

Who This Book is For:
“If you are serious about wireframing, designing and communicating your ideas clearly and quickly, then this book is for you.” 

Add Column to Default View Using PowerShell

Posted by on September 10, 2012 at 8:49 am.

Recently I had a request from a client to add a custom site collection column to all document libraries. This is pretty easy though the SharePoint UI of course, by creating a custom Site Column in the collection and adding it to the ‘Document’ content type.

However, in doing this the column is not added to the default view for any document libraries. This can be easily done using PowerShell using the script below. This adds the column to the default view in every document library throughout the entire site collection (referenced here).

$site = Get-SPSite “”
$column = “Column”

$site | Get-SPWeb -limit all | ForEach-Object {

# Get all document libraries
$lists = $_.Lists | where  {$_.BaseType -eq “DocumentLibrary”}

# Loop libraries
for ($i = 0; $i -lt $lists.Count; $i++)


# Get current view
$view = $lists[$i].DefaultView


# Delete if already exist



# Add column




catch [Exception]

write-output (”  Error: ” + $_.Exception.ToString())





You can also add views to a view by URL and view name for one specific view or list (a nice tip I found here). Here is another option by using GetViewFromUrl:

$spWeb = Get-SPWeb -Identity "http://mySharePoint"
$spView = $spWeb.GetViewFromUrl("/Lists/MyList/AllItems.aspx")
$spField = $spList.Fields["MyField"]

You can also try to use SPList object as below:

$spList = Get-SPList -Url "http://mySharePoint/Lists/MyList"
$spView = $spList.Views["All Items"]
$spField = $spList.Fields["MyField"]

Adding multiple columns to a view can also be done with PowerShell, and even create a new view and set it as the default view. This is really awesome if you want to leave the default ‘All Items’ view in tact, but create a new custom view and set it as default (found here):

Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue
$siteURL = "http://dev1share"
 $site = Get-SPSite($siteURL)
foreach($web in $site.AllWebs) {
$listCounter = $web.Lists.Count
 for($i=0;$i -le $listCounter;$i++) {
    $list = $web.Lists[$i]
     if($list.BaseType -eq "DocumentLibrary") {
     $newList = $web.Lists.item($list.ID);
  $viewfields = New-Object System.Collections.Specialized.StringCollection
  [void]$newList.Views.Add("Detailed", $viewfields, "", 100, $true, $true)
   $view.DefaultView = $true