Archives For SharePoint 2013

The SharePoint 2013 My Site has a neat new feature of aggregating all of your tasks and allowing you to complete a task with a single click, no matter where the task resides. This eliminates the need for the assignee to go to all of his/her team sites and update their tasks. However, in certain scenarios, the my site and OneDrive experience has not been fully adopted. So, I decided to write a display template that could utilize CBS (Content By Search) web part to rollup all tasks. The display template also allows you to mark the task completed, launch in a modal, and asynchronously update. Let’s get started.


Here is what the web part will look like when we finish.


Continue Reading…


This might be one of the coolest JavaScript libraries out there for SharePoint, DataTables.js. DataTables.js allows you render a set of search results in data table format allowing you to Sort, Filter and Page automatically. Because SharePoint search allows you to search and return items from the entire farm you lost the ability to dynamically sort and quickly filter. DataTables give you this back in a very quick and easy to use format. To get data tables working we need the following:

  • jQuery library reference
  • DataTables library reference
  • DataTables base or custom css style sheet
  • Custom Control Template
  • Custom Item Template

Let’ s get started. First we need to created out custom control and item templates. These templates are created and stored at the site collection level. They are saved in the Master Page Gallery > Display Templates > Content Web Parts To create these two files you need to create two HTML files. This can be done by either copying an existing item and control template and replacing the code with the code below OR you can copy and paste this code directly into a new HTML file(s). Control Template Copy and paste the following code into a new Control_Grid.html file

Continue Reading…

Service Pack 1 for SharePoint 2013 Re-Released

With the release of Service Pack 1, you get two new features in Central Admin (among other preceding CUs as outlined here).

The first one is OneDrive for business integration. This allows for you to redirect users to the cloud for their ‘personal’ storage. This can be done for everyone OR you can select specific audiences. This allows for a dynamic approach for moving certain users to the cloud. For instance, I can make all of my support services staff use the default On-Premises storage and I can redirect my Sales users to the cloud to allow them to have easy access and Office Web Apps integration built in. This of course will include the new Yammer social integration features when they are released near the end of this year or early next year. OneDrive for business requires an additional license and early indicators seem to be anywhere from $2.50-$5.00 per user(?).

You can also redirect the Sites suite link. This will show users sites they follow for SPO only. They will no longer see any On-Premises sites that they are following. This is an all or nothing option as well.


Continue Reading…

The content query web part allows your to apply a custom item style using XSL to view the information in a custom way. This item style shows a Calendar Event with a nice visual icon. Everything renders on a single line.



  1. Open SharePoint Designer.
  2. Open your site collection where you want to use this style.
  3. Click on All Files > Style Library > XSL Style Sheets.
  4. Check out the ItemStyle.xsl file
  5. At the end of the file, before the </xsl:stylesheet> tag copy and paste the item style below.
  6. You can now access this item style in you CWQP presentation style drop down

Note: You must enter the following field mappings in the template in for it to render properly.


Continue Reading…

Sharing, a new concept in SharePoint 2013, allows users (who have the correct rights) to share the Site, List/Library or item/file with other users. However, the process and user experience is not always the same. It is important to understand the differences in each method. Especially for administrators/site owners, this can become a bit of a headache when trying to manage a governance strategy. So let’s get to it!

Here is a table of the possible ways you can
‘Share’ webs, libraries and items.

SharePoint Object: What type of object are we sharing? (Web, List,/Library, Item/File)
Share Button Location: Where the share action is invoked from./
Available Access: What level of access is available to be granted via the respective invoke method
Inheritance: Is inheritance broken?
Notes: Additional comments

Continue Reading…

When you are working with Search in SharePoint 2013 you no longer have the luxury of using the GUI to modify search topology. Now we have to directly modify a topology using a clone in PowerShell.
At a high level we have the:

  • Search Service Application
  • Search Topology
  • Search Instance on each Server in the search topology

We also have the following components:

  • Admin
  • Crawler
  • Content Processing
  • Analytics Processing
  • Query Processing
  • Index

When we want to change the topology of a search service application such as:

  • Change the index location on the index component
  • Add a index replica on another server in the farm
  • Add additional components to other servers in the farm
  • Remove components

Continue Reading…