Opening Office Templates (.dotx) from a SharePoint Document Library

So I ran across this problem while doing some work for a client where they had added a bunch of Word templates to a document library. The issue was that users would click on these documents and Word would open them fine but then to edit them it would prompt them to check the documents out. This created confusion since the users didn’t actually have any permissions to write to the source library.
Continue reading...

Folders vs metadata in SharePoint

There’s been plenty of debate over the years about whether metadata (columns) or folders are better for organising files in SharePoint libraries. And to be honest, I’m still not 100% convinced either way.

With my information architecture hat on, it seems obvious that metadata should be the way to go. Enhancing a library with extra fields, for categorising and grouping files, allows for a lot more flexibility in display and search. But I can understand why some people are still so wedded to their beloved folders. Here I explore my experiences and observations in working with SharePoint libraries.
Continue reading...

Creating a Drop-Down list of Sub-sites in SharePoint 2013 using JavaScript

I created a web part a little while back as a farm solution that would display a drop-down listing of sub-sites that could then be used for quickly navigating to these areas. More recently I decided to revisit the solution and use it as an excuse to brush up on my JavaScript. Be warned, this most definitely isn’t the best code ever and for me it was mostly just a learning exercise.
Continue reading...

SharePoint: Hiding Destination Library option when uploading assets

SharePoint 2013 provides users with the ability to upload photos directly from pages that they are editing. This is a nice piece of functionality that avoids the user from first having to upload these photos manually.

But what if you want to have finer control over this? From what I’ve found, there is no way to confine images to reside in one library while other file types default to another library. Sometimes this additional choice just confuses users and then you end up with images spread out unnecessarily across multiple libraries.

In this post I will run through a brief example of creating a sandbox solution that works around this issue using jQuery.
Continue reading...

Nintex Forms: Automatically populating the new people picker control

In this post I will be looking at Nintex Forms 2013 and automatically populating the new people picker control with information retrieved from the SharePoint user profile service. The new People Picker control was introduced in the recent 2.2.0.0 update and provides a number of benefits including auto complete on mobile devices and the ability to add the control to repeating sections.
Continue reading...

Uploading Images Directly from a List Input Form in SharePoint 2010

Normally on lists and libraries to add a picture you would use a ‘Hyperlink or Picture’ column. That’s all fine and good if you know the URL for the image. Unfortunately though, this column provides no way to upload or select items already sitting in SharePoint. While searching around for a solution to this problem I found that there were a range of different ways people have achieved this including the creation of new field types and custom aspx upload pages.

I knew that this had to be complicating things, after all you see image upload/selection functionality elsewhere in SharePoint 2010 (Rich Text Editor!).
Continue reading...

SharePoint 2010 and Mega Drop Down Menu Navigation (Updated with Download)

Over the past few weeks I have been looking around trying to find examples on how people have replaced the default SharePoint navigation with a mega menu style nav. These things seem to be all the rage these days so why not jump on the bandwagon.

The closest example that I could find where somebody had implemented this was a CodePlex project titled SharePoint 2010 Starter Masterpage Feature with Mega DropDown Navigation Menu. This project was actually very helpful and pointed me in the right direction. There were a few things that I wanted to improve though, one major area was around the way the menu was maintained and updated.
Continue reading...