Meeting #127http://sharepointmn.com Welcome to the Minnesota SharePoint User Group July 8 th, 2015 SharePoint Search and Display Templates Kameron Berget.

Slides:



Advertisements
Similar presentations
Content in SharePoint 2013 Eric Overfield SharePoint Advocate and Enthusiast PixelMill Integrating Search Driven.
Advertisements

Meeting #108http://sharepointmn.com Welcome to the Minnesota SharePoint User Group December 11 th, 2013 SharePoint Panel Discussion Brian Caauwe, Mark.
Help the users find what they need using the Search Speaker: Frédérique Harmsze 15 th November 2014 Host: Matthew Hughes.
Meeting #106http://sharepointmn.com Welcome to the Minnesota SharePoint User Group October 9 th, 2013 SharePoint, A Social Platform Donald Donais and Steve.
Meeting #120http://sharepointmn.com Welcome to the Minnesota SharePoint User Group December 10 th, 2014 SharePoint Panel Discussion Steve Anderson, Brian.
Welcome to the Minnesota SharePoint User Group. Introductions / Overview Upcoming Schedule Real World Demo – HR Web at Microsoft SharePoint Human Resources.
Introduction KWizCom Business Card Founded in 2005 Headquartered in Toronto Global provider of add-ons and services customers worldwide Business.
SharePoint 2013 Catalog Sites Brian Culver ● SharePoint Saturday DFW ● March 7, 2015 Build a SharePoint 2013 Search Driven.
1 SharePoint 2013 Catalog Sites Brian Culver Build a SharePoint 2013 Search Driven Application.
Welcome to the Minnesota SharePoint User Group July 14 th, 2010 Introducing the BCS Raymond Mitchell Meeting # 67.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Welcome to the Minnesota SharePoint User Group June 10 th, 2009 Search: From WSS to FAST Brian Caauwe, Wes Preston Bob Koviak,
Philadelphia Area SharePoint User Group Welcome to the Philadelphia Area SharePoint User Group Russ Basiura SharePoint Consultant.
Meeting # 68 Meeting # 68 Welcome to the Minnesota SharePoint User Group November 10 th, 2010 Business.
Meeting # 99http://sharepointmn.com Welcome to the Minnesota SharePoint User Group March 13 th, 2013 SharePoint and Project Management Donald Donais &
Welcome to the Minnesota SharePoint User Group. Introductions / Overview Project Tracking / Management / Collaboration via SharePoint Multiple Audiences.
Welcome to the Minnesota SharePoint User Group. Quick Intro Announcements Personalization in SharePoint Configuring User Profiles Configuring Audiences.
Welcome to the joint MN SharePoint User Group + Microsoft UC User Group of MN July 11 th, 2012 SharePoint and Lync – Better Together Brian Caauwe & Justin.
Meeting #123http://sharepointmn.com Welcome to the Minnesota SharePoint User Group March 11 th, 2015 Business Process Automation Using SharePoint Forms.
Meeting #112http://sharepointmn.com Welcome to the Minnesota SharePoint User Group April 9 th, 2014 SharePoint Saturday Twin Cities 2014 Revisited Liz.
Meeting # 101http://sharepointmn.com Welcome to the Minnesota SharePoint User Group May 8 th, 2013 SharePoint Information Worker and What Is Changing!
Welcome to the Minnesota SharePoint User Group February 11 th, 2009 Back to Basics: MOSS Wes Preston Raymond Mitchell Meeting.
Meeting # 103http://sharepointmn.com Welcome to the Minnesota SharePoint User Group July 10 th, 2013 Become One with the SharePoint Site, One Must! Donald.
Building Search Portals With SP2013 Search. 2 SharePoint 2013 Search  Introduction  Changes in the Architecture  Result Sources  Query Rules/Result.
Welcome to PhillySharePoint Russ Basiura
Welcome to the Minnesota SharePoint User Group January 9 th, 2008 Vendor Demonstrations CommVault, Barracuda.
Welcome to the Minnesota SharePoint User Group October 10 th, 2007 Building Composite Applications on the SharePoint Platform.
Welcome to the Minnesota SharePoint User Group December 12 th, 2007 Miscellaneous really useful demos Wes Preston, Ryan Oliveira,
Meeting # 88 Welcome to the Minnesota SharePoint User Group March 14 th, 2012 SharePoint 101 Wes Preston.
Meeting #109http://sharepointmn.com Welcome to the Minnesota SharePoint User Group January 8 th, 2014 SharePoint 101 Wes Preston Donald Donais.
Welcome to the Minnesota SharePoint User Group. Agenda Quick Introduction Announcements and News 2007 Microsoft Office System Licensing and Pricing Real-World.
Meeting # 75 Meeting # 75 Welcome to the Minnesota SharePoint User Group February 9 th, 2011 SharePoint.
Meeting # 70 Meeting # 68 Welcome to the Minnesota SharePoint User Group October 13 th, 2010 Panel.
Welcome to the Minnesota SharePoint User Group. Quick Intro Keynote Presentation – Chris Caposella User Group Kick Off Introductions Goals / Objectives.
Meeting #115http://sharepointmn.com Welcome to the Minnesota SharePoint User Group July 9 th, 2014 Using Promise Patterns with JavaScript, jQuery, and.
Meeting # 96http:// Welcome to the Minnesota SharePoint User Group December 12 th, 2012 SharePoint Conference.
Meeting # 82 Welcome to the Minnesota SharePoint User Group September 14 th, 2011 Metadata in SharePoint Donald Donais.
Meeting #113http://sharepointmn.com Welcome to the Minnesota SharePoint User Group May 14 th, 2014 Creating Business Solutions with Access Services Raymond.
Meeting #118http://sharepointmn.com Welcome to the Minnesota SharePoint User Group October 8 th, 2014 Member Case Studies – Part 2 Beth Beck & Jon Rono,
Meeting #130http://sharepointmn.com Welcome to the Minnesota SharePoint User Group October 14 th, 2015 Introduction to Developing Solutions with Visual.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Search Overview Search Features: WSS and Office Search Architecture Content Sources and.
Welcome to the Minnesota SharePoint User Group. Introductions / Overview SharePoint 101 High level overview of SharePoint Differences between SharePoint.
Welcome to the Minnesota SharePoint User Group. Develop and support a local community focused on Microsoft SharePoint Technologies Educate user group.
Welcome to the Minnesota SharePoint User Group May 12 th, 2010 Panel Discussion Guest: Sarah Haase Meeting # 65.
Welcome to the Minnesota SharePoint User Group February 13 th, 2013 SharePoint 2013 – Developers Track - Client Side Rendering.
Welcome to the Minnesota SharePoint User Group August 13 th, 2008 Open Panel Discussion Wes Preston, Todd Klindt, Neil Iversen,
Meeting #133http://sharepointmn.com Welcome to the Minnesota SharePoint User Group January 13 th, 2016 How SharePoint Can Be Used In Your Organization.
Meeting # 94http:// Welcome to the Minnesota SharePoint User Group September 12 th, 2012 SharePoint Panel.
Welcome to the Minnesota SharePoint User Group May 14 th, 2008 SharePoint Implementations Real World Examples.
Welcome to the Minnesota SharePoint User Group August 12 th, 2009 Building SharePoint Dashboards for Project Management Larry.
Leveraging Web Content Management in SharePoint 2013 Christina Wheeler.
Leveraging SharePoint Search In SharePoint 2013 Jameson Bozeman.
The New Design Manager! Louis-Philippe Lavoie SharePoint Specialist / What does it mean for you? November.
SharePoint Tips and Tricks
Developing your Intranet Content Strategy like a Coder
SharePoint’s New Swiss Army Knife: The Content Search Web Part
Vendor Demonstrations
PowerApps: What SharePoint Users Need to Know
Guests: Eric Kraus, Johnny Harbieh
Using Innovation Games to engage your SharePoint/Office 365 users
David Warner January 10th, 2018
Future of SharePoint Panel
Client-Side Rendering for an Improved User Experience
Microsoft Ignite Recap Panel
Microsoft Ignite Recap – Panel
Simplifying Security & Compliance in Office 365
Raymond Mitchell, Todd Klindt, Phil Wicklund, Wes Preston
Brian Caauwe, Mark Gamm, Nate Hadro, Raymond Mitchell, & Liz Sundet
Special Guests: Bill English, Sarah Haase
Microsoft Ignite Recap Panel
Presentation transcript:

Meeting #127http://sharepointmn.com Welcome to the Minnesota SharePoint User Group July 8 th, 2015 SharePoint Search and Display Templates Kameron Berget Donald Donais

Meeting #127http://sharepointmn.com Agenda MNSPUG Information Search and Display Templates BREAK Search and Display Templates Giveaways

Meeting #127http://sharepointmn.com User Group Goal / Objectives Develop and support a local community focused on Microsoft SharePoint Technologies Educate user group members about SharePoint Technologies Transfer knowledge within the community Communicate best practices Introduce new products / solutions

Meeting #127http://sharepointmn.com MNSPUG Sponsors Wrox Press ( O’Reilly ( Dedicated Sponsors Avtex ( Microsoft ( Annual Sponsor Sponsorships Levels: Gold Sponsorship - $500 Silver Sponsorship - $250 Sponsorships Levels: Gold Sponsorship - $500 Silver Sponsorship - $250 SharePoint User Group Support Atomic Data (

Meeting #127http://sharepointmn.com MN SharePoint Users Group Website SharePoint Resource Documents SharePoint Resource links RSS Feeds Meeting Schedule Past User Group Presentations Past User Group Recordings Sponsorship Information

Meeting #127http://sharepointmn.com Social Networking Linked In group – The most interactive… includes job postings…  Post Job Posting on the Jobs Discussion page  Twitter tags and #MNSPUG Yammer – Minnesota SharePoint Users Group 

Meeting #127http://sharepointmn.com Upcoming Schedule Next Meeting  August 12 th, 2015 – Wendy Neal - SharePoint Usability and Design Tips for Non Designers  Microsoft Technology Center, Edina, MN  Check for updates! Ongoing Schedule  2 nd Wednesday of every month  9:00 to 11:30 am  Microsoft Technical Center – Edina

Meeting #127http://sharepointmn.com Local and Online Events

Meeting #127http://sharepointmn.com Evaluations & Giveaways!

Meeting #127http://sharepointmn.com Presenters

Meeting #127http://sharepointmn.com Kameron Berget Expecting child #3 New Years Eve! Foster/Rescue

Meeting #127http://sharepointmn.com SharePoint Search Display Templates

Meeting #127http://sharepointmn.com What to Expect

Meeting #127http://sharepointmn.com What are we used to when customizing results? Content Query Web Part  Limited to site collection  Had to write XSLT  Slots (Similar to Content Search Display Templates) Search 2007/2010  XSLT Transformation/Templates to alter results

Meeting #127http://sharepointmn.com Challenge/Problem We want to get content from anywhere in our farm. Display the results the way we want. Create a reusable solution.

Meeting #127http://sharepointmn.com Solution? Display Templates! What are display templates?  A single HTML file.  Display templates control which managed properties are shown in the search results and how they appear in the Web Part.  Search results are controlled via a combination of: HTML5: Markup CSS: Style JavaScript: Logic –Wait, I need to learn JavaScript?? Advantages  No boundaries  Display Templates independent of one another  Reusable  Easier to debug

Meeting #127http://sharepointmn.com Types of Display Templates Control Templates  Determine the overall structure of how the results are presented. Includes lists, lists with paging, and slide shows. Item Templates (Result and Content Search)  Determine how each result in the set is displayed. Includes images, text, video, and other items. Filter (Refinement) Templates  Determine how each filter option is displayed.

Meeting #127http://sharepointmn.com Display Template Structure (Item) Template Title  Managed Property Mappings  External Resources(Optional)  JavaScript  HTML Markup

Meeting #127http://sharepointmn.com Where do we use these web parts? Display templates can only be used with Search web parts.  Search Results  Content Search  Cross-Site Publishing  Supported in both SPO and On Premises  Both will work with refinement web parts too.

Meeting #127http://sharepointmn.com Search Results Content Search Query Builder Display specific content Template Structure Template Location Web part configuration Reusable/Dynamic Web part configuration Template Location Result Types

Meeting #127http://sharepointmn.com Managed Properties Display templates rely on Managed Properties to display data within the template. Site Columns vs. List Columns  Site Columns get Managed properties mapped automatically. [Predictable]  List columns do not. You must create your own Managed Property after the content has been picked up by the crawl. Managed Property schema defines how each value can be used.  Text, Date, Number, Refiner, Sorting, Etc.  Changes to schema requires full crawl to take effect. SPO provides pre-configured managed properties for Refinement and Sorting. On Premises deployments require that you setup each property.

Meeting #127http://sharepointmn.com Today’s Scenario Today we are working with Contoso Thrills, an Amusement park company. They have a list of their rides, upcoming events and primary contacts. They would like to display this information in a more user friendly manner for their consumers. Some data has already been created along with content types and site columns. SPO Contoso Thrills Search Contoso News

Meeting #127http://sharepointmn.com Introduction to Rides, Events and People Lists Browse and locate display templates to get familiar with the pieces

Meeting #127http://sharepointmn.com /_catalogs/masterpage/Display Templates contains all of our display templates Display templates are local to the site collection but can be copied across sites as needed. All webs (aka Sub-sites) within the Site collection share the same display templates. Search Server Web Parts and Templates site collection feature needs to be activated to gain full functionality. Publishing Infrastructure needs to activated in order to see and add display templates. Design manager gives use a shortcut to our display templates

Meeting #127http://sharepointmn.com Modify our search center to show our custom refiners – Review properties in Schema Create new item result display template – Add rating and Height managed properties Create custom hover display template – Add publishing image managed property Create custom result type View our results

Meeting #127http://sharepointmn.com SPO gives us preconfigured managed properties for Refinement and Sorting. We cannot create our own. On Premises we create our own. The best way to build a new display template = Copy/Paste Search Results web parts rely on Result types to know how to render each result. Based on priority. Hover display templates add nice fly-out capability and the template structure is much the same.

Meeting #127http://sharepointmn.com Create new content search display template – Add rating and Height managed property mappings/slots Modify the homepage of Contoso Thrills to add a content search web part for Thrill rides and Family Rides. View our results

Meeting #127http://sharepointmn.com Content Search display templates differ slightly in their authoring Content Search display templates promote reusability for popular item layouts. The Content Search web part is configured differently than the search results web part.

Meeting #127http://sharepointmn.com Build display template for Events Review our new search driven home page.

Meeting #127http://sharepointmn.com Display templates are new and take some getting used to. Results hinge on crawl freshness. – Cannot control in SPO (See tips) – Certain requirements may require continuous crawl We have several different kind of display templates. Although similar in structure, they each provide a different unique purpose. Result type property sync is required when property mappings change. Haven’t seen this for SPO.

Meeting #127http://sharepointmn.com COPY/PASTE Use your favorite web designer to mockup your HTML. JavaScript alert function. – alert(“message”) Console.log(“message”) Bad syntax/errors give more friendly messages. You might be cached! Due to the way display templates are structured, you get very little intellisense. Try breaking out chunks of your code into your favorite IDE when writing JS to avoid typos. Reindex Site/List

Meeting #127http://sharepointmn.com Resources Slide Microsoft intro to display templates  us/library/office/jj aspx#bk_introduction us/library/office/jj aspx#bk_introduction SharePoint 2013 Search Display Template and Query Rules – Matthew McDermott  Changing the look of Search using Display Templates and CSR  Conference/2014/SPC Conference/2014/SPC3000

Meeting #127http://sharepointmn.com Last But Not Least Please Fill Out Evaluations Drawings for Giveaways Online Participants Eval  Today’s Presenters: Kameron Berget