Archives For November 30, 1999


A new SharePoint site can be a nice shiny new toy to some and ‘just another tool’ to others. Our information architecture and taxonomy determine how easy it ‘should’ be for users to find information. After all, there is a cost associated with a lack of discoverability and usability of a given SharePoint site. It is important that we are always enforcing governance to ensure the site is being used properly and we also need to be able to measure the successes and shortcomings of our sites.

 

We have a couple of tools out of the box that we can use to see how the site is being used.

Continue Reading…


A new feature of 2013 are the metro-style tiles. Every new team site has them as a banner on the homepage.

image

To create your own tiles you are limited to the promoted links app or the Announcement Tiles feature. I wanted the ability to use the tiles in my search results and other areas as needed. I have two display templates that will allow you to do just that, with any type of content within SharePoint. The solution consists of 3 parts:

  • Display Template
  • JavaScript file (Used for moving panel on mouse-over events)
  • CSS file for rendering the tile correctly.

 

Let’s get started…..

First we need to get our code and place them in their respective areas. Attached you will find the 3 files needed for this display template:

    • Item_HorizontalTiles.html
    • Item_VeritcalTiles.html
    • Tiles.css
    • Tiles.js

The item templates (Veritcal/Horizontal) need to be placed in your site collection display templates folder. The path is _Catalogs/masterpage/Display Templates/Content Web Parts/. The easiest way to do this, if you are not familiar with display templates is using the Designer manager via the site gear. When you drop these files SharePoint will automatically create a linked <name>.js file. This file contains all the JavaScript that is outlined in the display template.

Next, we need to place our CSS and JS files. I have placed mine in the /Style Library/CSS and /Style Library/JS respectively. You don’t have to place the files in this location. However, if you choose to put them somewhere else you will need to update the $includeScript and $includeCSS path in the display template HTML file.

 

Information about the template

The template renders a tile similar to one you use with promoted links and announcements tiles. It allows to you to map the following fields:

    • LinkURL (Auto Do Not Change)
    • PictureURL (Automatically pulls the most common managed properties for images)
    • Title (Title of the tile – First Line)
    • Description (Description of the tile – Second line onmouseover)

These fields can be mapped using the Content By Search web part when the display template is selected (See below)

image

As you can see I am setting this first search to return people:

image image

 

We could also change our query to return documents:

image        image

 

We could show announcements:

image image

Note: If you just added the ‘Rollup Image’ column to your announcements, the tile would show your image on the tile as well.

 

We can show article pages:

image image

You also choose to arrange these vertically using the Item_VerticalTile display template called “Vertical Tile” in the web part property selector.

image

 

As you can see, with the tile we can view any type of content we want. The HTML display template is easy enough to tailor this to any specific need or specific content that you would like. It is not necessarily a one-size-fits-all but it is a good start.

Source Files: https://github.com/kameronberget/SharePointPhiles

{Kam}


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…