21
Search Extensibility in Office 365 and SharePoint 2013 Corey Roth, MVP Hitachi Consulting

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

Embed Size (px)

Citation preview

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

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

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

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

[email protected] @CoreyRoth

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

AgendaQuery RulesImproving the Look of Search ResultsDelve

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

If this…then that(aka Query Rules)

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

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

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

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

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

…then thatAdd promoted resultAdd result blockChange the query

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

Demo

Introduction to Query Rules

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

Changing the look of Search

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

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

SharePoint OnlineSharePoint 2013

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

Examples of Display Templates

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

Search Center

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

Use display templates anywhere…

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

Types of display templatesControlGroupItemRefinementHover Panel

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

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

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

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

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

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

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

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

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

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

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

Demo

Display Templates 101

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

Delve