24
Build KILLER VISUALS with Search & Display Templates by Benjamin Niaulin, a SharePoint GEEK

Build Killer Visuals with SharePoint 2013 Search & Display Templates

Embed Size (px)

DESCRIPTION

Solutions can no longer simply be functional, they need to look good and provide an excellent user experience. Thought the Search Results in SharePoint 2013 are already a great improvement over our previous experiences, it is even better when we take advantage of what it offers to change how results are displayed. In this session, you will learn how to build a reusable, beautiful and dynamic menu built from a search query. See how to build a Display Template in SharePoint 2013, so that any returned Search Results can provide users with a dynamic menu to explore and interact with them. See the difference between Control Display Templates and Item Display Templates to build your own interactive solutions with your SharePoint Content. The Display Template will be available at the end of the session.

Citation preview

Page 1: Build Killer Visuals with SharePoint 2013 Search & Display Templates

Build

KILLER VISUALSwith Search & Display Templates

by Benjamin Niaulin, a SharePoint GEEK

Page 2: Build Killer Visuals with SharePoint 2013 Search & Display Templates

twitter.com/bniaulin

ca.linkedin.com/in/bniaulin

[email protected]

en.share-gate.com/blog

Benjamin Niaulin

Page 3: Build Killer Visuals with SharePoint 2013 Search & Display Templates

How do we get here?

Page 4: Build Killer Visuals with SharePoint 2013 Search & Display Templates

DON’T GET TOO

EXCITED

Page 5: Build Killer Visuals with SharePoint 2013 Search & Display Templates

FIRST…

What’s CHANGED

in SharePoint

2013?

Page 6: Build Killer Visuals with SharePoint 2013 Search & Display Templates

SEARCH!Best of FAST Search algorithms

Document ThumbnailsQuery Language (FQL)

Architecture

Visual Best Bets User Segmentation

Metadata Extraction

Continuous Crawl

Analytics

Result SourcesResult Types

Query RulesDisplay Templates

Search Web Parts

Cross-Site Publishing

Product Catalog Search-Drive Sites

Page 7: Build Killer Visuals with SharePoint 2013 Search & Display Templates

Before we start ANYTHING with Search

Crawled Property: Content & Metadata extracted(document itself, url, Title, etc…)

Managed Property: Includes 1 or multiple mapped Crawled Properties and exists in the Search Index.

Managed Properties are what SharePoint uses to Display Content.

Page 8: Build Killer Visuals with SharePoint 2013 Search & Display Templates

POP QUIZ!

If I plan to use a Search-related Web Part

to show my content !

What kind of Property should I use?

Page 9: Build Killer Visuals with SharePoint 2013 Search & Display Templates

MANAGED PROPERTY

Page 10: Build Killer Visuals with SharePoint 2013 Search & Display Templates
Page 11: Build Killer Visuals with SharePoint 2013 Search & Display Templates

What’s changed?

Page 12: Build Killer Visuals with SharePoint 2013 Search & Display Templates

HTML CSS JS

NO XSLT

Page 13: Build Killer Visuals with SharePoint 2013 Search & Display Templates

DISPLAY TEMPLATES

Looking Good!

Page 14: Build Killer Visuals with SharePoint 2013 Search & Display Templates

The basics of Display Template

Page 15: Build Killer Visuals with SharePoint 2013 Search & Display Templates

They are everywhere

Page 16: Build Killer Visuals with SharePoint 2013 Search & Display Templates

The « container »  !!Best way to reference custom files (JavaScript, CSS, etc…)

Control

Page 17: Build Killer Visuals with SharePoint 2013 Search & Display Templates

Item

Controls what happens to each item rendered

through the query !!

Use Managed Properties to show

the content you want where you

want using HTML

Page 18: Build Killer Visuals with SharePoint 2013 Search & Display Templates

Finding

inspiration

line25.com

smashingmagazine.com

tympanus.net/codrops/

Page 19: Build Killer Visuals with SharePoint 2013 Search & Display Templates
Page 20: Build Killer Visuals with SharePoint 2013 Search & Display Templates
Page 21: Build Killer Visuals with SharePoint 2013 Search & Display Templates
Page 22: Build Killer Visuals with SharePoint 2013 Search & Display Templates

THINK

a reusable design

for Search Results

about it…

Page 23: Build Killer Visuals with SharePoint 2013 Search & Display Templates

ARTICLES

An Image Slider with Search Results Web Part

Responsive Animated Tiles Menu with Search Results

Page 24: Build Killer Visuals with SharePoint 2013 Search & Display Templates

twitter.com/bniaulin

ca.linkedin.com/in/bniaulin

[email protected]

en.share-gate.com/blog

Benjamin Niaulin