Making the most of search in share point and office 365 sharepoint tech

Preview:

Citation preview

Search Extensibility in Office 365 and SharePoint 2013Corey Roth, MVPHitachi Consulting

Corey RothWhat is your day job?How can we reach you?If not Office 365 then what?

coreyroth@live.com @CoreyRoth

AgendaQuery RulesImproving the Look of Search ResultsDelve

If this…then that(aka Query Rules)

Why Query Rules?Promote key resultsImprove a user’s queryChange sorting or rankingAdd blocks of resultsPromote results for a period of time

SharePoint OnlineSharePoint 2013

If this…Query matches keyword exactlyQuery contains action termQuery matches dictionary exactlyQuery more common in sourceResult type commonly clickedIn a specified date range

…then thatAdd promoted resultAdd result blockChange the query

Demo

Introduction to Query Rules

Changing the look of Search

Why display templates?Tailor the look of search results to your needsDisplay additional metadataGreat for content roll-upMake search results actionable

SharePoint OnlineSharePoint 2013

Examples of Display Templates

Search Center

Use display templates anywhere…

Types of display templatesControlGroupItemRefinementHover Panel

Results in a GridChange Control and Item templates for a brand new look

Control TemplateRenders HTML that wraps all search resultsItem template rendered for each search result

Item TemplateTemplate for each item renderedSame template used for all results in Content SearchResult types trigger unique templates per result in Search Center

Item TemplateContains HTML before the title and after the pathHover panels have shared header, body, and actionsRemaining content rendered by Item_CommonItem_Body.html

Anatomy of a display templateHTML file with additional syntaxConfiguration properties at top of fileJavaScript goes in <!--#_ <code> _#--> blocksJS variables referenced with _#= <variable> =#_

Demo

Display Templates 101

Delve

Recommended