SlideShare a Scribd company logo
1 of 22
SPSATL 2014
Create Tailored Search
Results w/ Display Templates
SHAREPOINT SATURDAY ATLANTA – JUNE 21, 2013
MIKE ORYSZAK
BLOG: WWW.MIKEORYSZAK.COM
TWITTER: @NEXT_CONNECT
LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
SPSATL 2014
About Me
Senior SharePoint Solution Architect w/ B&R Solutions
Microsoft SharePoint Server MVP (5-time)
Leader for Triangle SharePoint User Group (TriSPUG)
Dev and Architect with MS stack since 1996
Working with SharePoint since 2002
Raleigh-Durham, NC
Scan the QR code for a
chance to win a prize!
BLOG: WWW.MIKEORYSZAK.COM
TWITTER: @NEXT_CONNECT
LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
2
3 SharePoint Saturday Atlanta3 |SharePoint Saturday Atlanta
4 SharePoint Saturday Atlanta4 |SharePoint Saturday Atlanta
5 SharePoint Saturday Atlanta5 |SharePoint Saturday Atlanta
6 SharePoint Saturday Atlanta6 |SharePoint Saturday Atlanta
Lunch Snack
SharePint
SpeakerShirts AttendeeShirts
AbelSolutions
SpeakerDinner
SPSATL 2014
Session
Overview
Display Template Basics
How to Work With Display Templates
Examples:
Example 1 – Simple tweak of standard results
Example 2 – Show results in a grid view
Example 3 – Working with People Results
Example 4 – Customize the hover panel
Closeout
Target Audience:
Developers interested in creating
customized result displays or building
search driving applications.
BLOG: WWW.MIKEORYSZAK.COM
TWITTER: @NEXT_CONNECT
LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
7
SPSATL 2014
Display Template Basics
CREATE TAILORED SEARCH RESULTS W/ DISPLAY TEMPLATES
BLOG: WWW.MIKEORYSZAK.COM
TWITTER: @NEXT_CONNECT
LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
8
SPSATL 2014
Display Template Basics
What are Display Templates?
Display templates are used by the Search related Web Parts to render search results in SharePoint 2013
They leverage client side code to allow for dynamic injection and rendering
Important to note: Part of the Design Manager layer
BLOG: WWW.MIKEORYSZAK.COM
TWITTER: @NEXT_CONNECT
LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
9
SPSATL 2014
Display Template Basics
Located in the Master Page Gallery at the Site Collection level
Under Display Templates/Search
Considerations
Can map a drive to the gallery or upload the files individually
Pair of files for each template; html and javascript
You work with html, the javascript file is generated when the html file is saved to the gallery
Display Template Reference:
http://technet.microsoft.com/en-us/library/jj944947(v=office.15).aspx
BLOG: WWW.MIKEORYSZAK.COM
TWITTER: @NEXT_CONNECT
LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
10
SPSATL 2014
Display Template Basics
Process Flow with Result Type Rules
Dynamically selects which template to use on each item based on the rules
BLOG: WWW.MIKEORYSZAK.COM
TWITTER: @NEXT_CONNECT
LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
11
SPSATL 2014
Display Template Basics
Process Flow with Result Type Rules
Central Control File
Specified item template shows all items formatted the same way
BLOG: WWW.MIKEORYSZAK.COM
TWITTER: @NEXT_CONNECT
LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
12
SPSATL 2014
Examples
CREATE TAILORED SEARCH RESULTS W/ DISPLAY TEMPLATES
BLOG: WWW.MIKEORYSZAK.COM
TWITTER: @NEXT_CONNECT
LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
13
SPSATL 2014
Tweak Standard Results
Simple example to get us started, minor format changes to existing display
BLOG: WWW.MIKEORYSZAK.COM
TWITTER: @NEXT_CONNECT
LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
14
SPSATL 2014
Grid View Results
Modify the results to show them in a grid/table view
BLOG: WWW.MIKEORYSZAK.COM
TWITTER: @NEXT_CONNECT
LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
15
SPSATL 2014
Working With People Results
Working with People results and presence
BLOG: WWW.MIKEORYSZAK.COM
TWITTER: @NEXT_CONNECT
LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
16
SPSATL 2014
Customizing the Hover Panel
Provide layout changes to the hover panel
BLOG: WWW.MIKEORYSZAK.COM
TWITTER: @NEXT_CONNECT
LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
17
SPSATL 2014
Closeout
CREATE TAILORED SEARCH RESULTS W/ DISPLAY TEMPLATES
BLOG: WWW.MIKEORYSZAK.COM
TWITTER: @NEXT_CONNECT
LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
19
SPSATL 2014
Questions?
BLOG: WWW.MIKEORYSZAK.COM
TWITTER: @NEXT_CONNECT
LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
20
SPSATL 2014
Resources
Design Manager display templates
http://msdn.microsoft.com/en-us/library/office/jj945138(v=office.15).aspx
Display Template Reference
http://technet.microsoft.com/en-us/library/jj944947(v=office.15).aspx
Add Presence to SharePoint Search Results – Matthew McDermott
http://www.ableblue.com/blog/archive/2013/06/05/add-presence-to-sharepoint-search-results/
Search Results in Grid View
http://mikeoryszak.com/2014/05/search-results-in-grid-view/
My Search Blog Posts
http://mikeoryszak.com/tag/search/
BLOG: WWW.MIKEORYSZAK.COM
TWITTER: @NEXT_CONNECT
LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
21
22 SharePoint Saturday Atlanta22 |SharePoint Saturday Atlanta
 Max Lager’s – 320 Peachtree Street NE

 The Intersect Group
 Max
Lager’s Baker Peachtree
 See the SPSATL Website for more info and
directions
Join us for SharePint
23 SharePoint Saturday Atlanta23 |SharePoint Saturday Atlanta
SharePint Directions

More Related Content

What's hot

SharePoint - Make Customers Happy - Atidan
SharePoint - Make Customers Happy - AtidanSharePoint - Make Customers Happy - Atidan
SharePoint - Make Customers Happy - Atidan
David J Rosenthal
 

What's hot (20)

Don't Suck at SharePoint - Avoid the common mistakes
Don't Suck at SharePoint - Avoid the common mistakesDon't Suck at SharePoint - Avoid the common mistakes
Don't Suck at SharePoint - Avoid the common mistakes
 
Introduction to SharePoint Information Architecture
Introduction to SharePoint Information ArchitectureIntroduction to SharePoint Information Architecture
Introduction to SharePoint Information Architecture
 
Develop a SharePoint App in 45 Minutes
Develop a SharePoint App in 45 MinutesDevelop a SharePoint App in 45 Minutes
Develop a SharePoint App in 45 Minutes
 
Tulsa techfest awesomelysimplesharepointsolutions
Tulsa techfest awesomelysimplesharepointsolutionsTulsa techfest awesomelysimplesharepointsolutions
Tulsa techfest awesomelysimplesharepointsolutions
 
Extend Microsoft Flow Capabilities Using Microsoft Graph API
Extend Microsoft Flow Capabilities Using Microsoft Graph APIExtend Microsoft Flow Capabilities Using Microsoft Graph API
Extend Microsoft Flow Capabilities Using Microsoft Graph API
 
Lunar Web-to-Lead and Web-to-Case Changes Webinar
Lunar Web-to-Lead and Web-to-Case Changes WebinarLunar Web-to-Lead and Web-to-Case Changes Webinar
Lunar Web-to-Lead and Web-to-Case Changes Webinar
 
Managing your project portfolio with Share Point
Managing your project portfolio with Share PointManaging your project portfolio with Share Point
Managing your project portfolio with Share Point
 
WF 101 - SharePoint Designer 2013 Workflows: An Introduction
WF 101 - SharePoint Designer 2013 Workflows: An IntroductionWF 101 - SharePoint Designer 2013 Workflows: An Introduction
WF 101 - SharePoint Designer 2013 Workflows: An Introduction
 
Mule soft meetup Houston 16
Mule soft meetup Houston 16Mule soft meetup Houston 16
Mule soft meetup Houston 16
 
SPUnite17 Making Sense of the SharePoint Framework
SPUnite17 Making Sense of the SharePoint FrameworkSPUnite17 Making Sense of the SharePoint Framework
SPUnite17 Making Sense of the SharePoint Framework
 
Microsoft Cloud Updates - September 2017
Microsoft Cloud Updates - September 2017Microsoft Cloud Updates - September 2017
Microsoft Cloud Updates - September 2017
 
SharePoint - Make Customers Happy - Atidan
SharePoint - Make Customers Happy - AtidanSharePoint - Make Customers Happy - Atidan
SharePoint - Make Customers Happy - Atidan
 
Kick-Ass Project Collaboration with Office 365 Groups
Kick-Ass Project Collaboration with Office 365 GroupsKick-Ass Project Collaboration with Office 365 Groups
Kick-Ass Project Collaboration with Office 365 Groups
 
O365Con18 - Bridge Over O365 Gaps and Enhance User Satisfaction - Nimrod Geva
O365Con18 - Bridge Over O365 Gaps and Enhance User Satisfaction - Nimrod GevaO365Con18 - Bridge Over O365 Gaps and Enhance User Satisfaction - Nimrod Geva
O365Con18 - Bridge Over O365 Gaps and Enhance User Satisfaction - Nimrod Geva
 
Deploy your Websites and Web Applications on Azure
Deploy your Websites and Web Applications on AzureDeploy your Websites and Web Applications on Azure
Deploy your Websites and Web Applications on Azure
 
Building a real-time news feed and toast notifications on SharePoint with SPF...
Building a real-time news feed and toast notifications on SharePoint with SPF...Building a real-time news feed and toast notifications on SharePoint with SPF...
Building a real-time news feed and toast notifications on SharePoint with SPF...
 
Be a Modern SharePoint Developer
Be a Modern SharePoint DeveloperBe a Modern SharePoint Developer
Be a Modern SharePoint Developer
 
Configuring SharePoint for Project and Portfolio Management in 2015!
Configuring SharePoint for Project and Portfolio Management in 2015!Configuring SharePoint for Project and Portfolio Management in 2015!
Configuring SharePoint for Project and Portfolio Management in 2015!
 
M365 virtual marathon speaker peter ward - chat bot in teams
M365 virtual marathon speaker  peter ward - chat bot in teamsM365 virtual marathon speaker  peter ward - chat bot in teams
M365 virtual marathon speaker peter ward - chat bot in teams
 
Extreme Application Makeover
Extreme Application MakeoverExtreme Application Makeover
Extreme Application Makeover
 

Viewers also liked

Viewers also liked (7)

Unlocking the Power of SharePoint Search
Unlocking the Power of SharePoint SearchUnlocking the Power of SharePoint Search
Unlocking the Power of SharePoint Search
 
Leaf man ge.
Leaf man ge.Leaf man ge.
Leaf man ge.
 
WWCMD - What Would the Community Manager Do?
WWCMD - What Would the Community Manager Do?WWCMD - What Would the Community Manager Do?
WWCMD - What Would the Community Manager Do?
 
All I Really Need to Know (About Love) I Learned Playing Rollerderby
All I Really Need to Know (About Love) I Learned Playing RollerderbyAll I Really Need to Know (About Love) I Learned Playing Rollerderby
All I Really Need to Know (About Love) I Learned Playing Rollerderby
 
How can sharing with your neighbors better prepare you for a natural disaster?
How can sharing with your neighbors better prepare you for a natural disaster?How can sharing with your neighbors better prepare you for a natural disaster?
How can sharing with your neighbors better prepare you for a natural disaster?
 
Pancakes 2003
Pancakes 2003Pancakes 2003
Pancakes 2003
 
Hando Runnel
Hando RunnelHando Runnel
Hando Runnel
 

Similar to Create Tailored Search Results through Customized Display Templates

Share poinrt 2013 planning consideration sps atlanta
Share poinrt 2013 planning consideration sps atlantaShare poinrt 2013 planning consideration sps atlanta
Share poinrt 2013 planning consideration sps atlanta
Michael Hinckley
 
SPSOslo: Automated code quality analysis of SharePoint solutions
SPSOslo: Automated code quality analysis of SharePoint solutionsSPSOslo: Automated code quality analysis of SharePoint solutions
SPSOslo: Automated code quality analysis of SharePoint solutions
Matthias Einig
 

Similar to Create Tailored Search Results through Customized Display Templates (20)

Developing SP 2013 Display Templates
Developing SP 2013 Display TemplatesDeveloping SP 2013 Display Templates
Developing SP 2013 Display Templates
 
Intro to SharePoint's Social APIs - SharePoint Sat NYC 2013
Intro to SharePoint's Social APIs - SharePoint Sat NYC 2013Intro to SharePoint's Social APIs - SharePoint Sat NYC 2013
Intro to SharePoint's Social APIs - SharePoint Sat NYC 2013
 
Spsatl2013 Introduction to the SharePoint's Social APIs
Spsatl2013   Introduction to the SharePoint's Social APIsSpsatl2013   Introduction to the SharePoint's Social APIs
Spsatl2013 Introduction to the SharePoint's Social APIs
 
Spsatl2013 Displaying Dynamic Content With SharePoint Search
Spsatl2013   Displaying Dynamic Content With SharePoint SearchSpsatl2013   Displaying Dynamic Content With SharePoint Search
Spsatl2013 Displaying Dynamic Content With SharePoint Search
 
SharePoint Saturday Chicago - SharePoint for DBAs Tom Resing
SharePoint Saturday Chicago - SharePoint for DBAs Tom ResingSharePoint Saturday Chicago - SharePoint for DBAs Tom Resing
SharePoint Saturday Chicago - SharePoint for DBAs Tom Resing
 
SharePoint Fest DC 2016_Advanced Office365 SharePoint Online Workflows
SharePoint Fest DC 2016_Advanced Office365 SharePoint Online WorkflowsSharePoint Fest DC 2016_Advanced Office365 SharePoint Online Workflows
SharePoint Fest DC 2016_Advanced Office365 SharePoint Online Workflows
 
Real World Add-in Development for Office365
Real World Add-in Development for Office365Real World Add-in Development for Office365
Real World Add-in Development for Office365
 
Displaying Dynamic Content in SharePoint with Search
Displaying Dynamic Content in SharePoint with SearchDisplaying Dynamic Content in SharePoint with Search
Displaying Dynamic Content in SharePoint with Search
 
Dynamic Content using Search - SPS Nashville
Dynamic Content using Search - SPS NashvilleDynamic Content using Search - SPS Nashville
Dynamic Content using Search - SPS Nashville
 
Share poinrt 2013 planning consideration sps atlanta
Share poinrt 2013 planning consideration sps atlantaShare poinrt 2013 planning consideration sps atlanta
Share poinrt 2013 planning consideration sps atlanta
 
Document Automation with Power Automate
Document Automation with Power AutomateDocument Automation with Power Automate
Document Automation with Power Automate
 
Advanced Office365 Sharepoint online Workflows
Advanced Office365 Sharepoint online WorkflowsAdvanced Office365 Sharepoint online Workflows
Advanced Office365 Sharepoint online Workflows
 
HTML5 in Plain English: What it means for SharePoint and Your Organization
HTML5 in Plain English: What it means for SharePoint and Your OrganizationHTML5 in Plain English: What it means for SharePoint and Your Organization
HTML5 in Plain English: What it means for SharePoint and Your Organization
 
Building solutions with SPFx that work across SharePoint and Teams
Building solutions with SPFx that work across SharePoint and TeamsBuilding solutions with SPFx that work across SharePoint and Teams
Building solutions with SPFx that work across SharePoint and Teams
 
Intro to SharePoint for Developers
Intro to SharePoint for DevelopersIntro to SharePoint for Developers
Intro to SharePoint for Developers
 
SPS Ottawa 2019: From the field: Modernize your SharePoint Intranet with Shar...
SPS Ottawa 2019: From the field: Modernize your SharePoint Intranet with Shar...SPS Ottawa 2019: From the field: Modernize your SharePoint Intranet with Shar...
SPS Ottawa 2019: From the field: Modernize your SharePoint Intranet with Shar...
 
What’s New for IT Professionals in Microsoft® SharePoint® Server 2013 Day 2
What’s New for IT Professionals in Microsoft® SharePoint® Server 2013 Day 2What’s New for IT Professionals in Microsoft® SharePoint® Server 2013 Day 2
What’s New for IT Professionals in Microsoft® SharePoint® Server 2013 Day 2
 
SPSOslo: Automated code quality analysis of SharePoint solutions
SPSOslo: Automated code quality analysis of SharePoint solutionsSPSOslo: Automated code quality analysis of SharePoint solutions
SPSOslo: Automated code quality analysis of SharePoint solutions
 
Branding SharePoint 2013
Branding SharePoint 2013Branding SharePoint 2013
Branding SharePoint 2013
 
How to Develop Maintainable Custom Workflows in Office 365 Share Point Online?
How to Develop Maintainable Custom Workflows in Office 365 Share Point Online?How to Develop Maintainable Custom Workflows in Office 365 Share Point Online?
How to Develop Maintainable Custom Workflows in Office 365 Share Point Online?
 

More from Michael Oryszak

Keys to SharePoint Search - SPS Philly
Keys to SharePoint Search - SPS PhillyKeys to SharePoint Search - SPS Philly
Keys to SharePoint Search - SPS Philly
Michael Oryszak
 
Developing Reusable Workflow Features (SPS Richmond)
Developing Reusable Workflow Features (SPS Richmond)Developing Reusable Workflow Features (SPS Richmond)
Developing Reusable Workflow Features (SPS Richmond)
Michael Oryszak
 
Getting the Most from SharePoint's User Profiles
Getting the Most from SharePoint's User ProfilesGetting the Most from SharePoint's User Profiles
Getting the Most from SharePoint's User Profiles
Michael Oryszak
 

More from Michael Oryszak (19)

Xtending nintex workflow cloud w azure functions - xchange conference
Xtending nintex workflow cloud w azure functions - xchange conferenceXtending nintex workflow cloud w azure functions - xchange conference
Xtending nintex workflow cloud w azure functions - xchange conference
 
Making Workflow Automation Personal: The Next Step in Digital Transformation...
Making Workflow Automation Personal:  The Next Step in Digital Transformation...Making Workflow Automation Personal:  The Next Step in Digital Transformation...
Making Workflow Automation Personal: The Next Step in Digital Transformation...
 
Making Workflow Automation Personal: Next Step in Digital Transformation (SP...
Making Workflow Automation Personal:  Next Step in Digital Transformation (SP...Making Workflow Automation Personal:  Next Step in Digital Transformation (SP...
Making Workflow Automation Personal: Next Step in Digital Transformation (SP...
 
Making Workflow Automation Personal: The Next Step in Digital Transformation...
Making Workflow Automation Personal:  The Next Step in Digital Transformation...Making Workflow Automation Personal:  The Next Step in Digital Transformation...
Making Workflow Automation Personal: The Next Step in Digital Transformation...
 
Using Search to Unlock the Value of your Content - SPEngage2016
Using Search to Unlock the Value of your Content - SPEngage2016Using Search to Unlock the Value of your Content - SPEngage2016
Using Search to Unlock the Value of your Content - SPEngage2016
 
Optimize Search Results
Optimize Search ResultsOptimize Search Results
Optimize Search Results
 
Developer FAST Queries (SPS NY)
Developer FAST Queries (SPS NY)Developer FAST Queries (SPS NY)
Developer FAST Queries (SPS NY)
 
Developing FAST Queries - SPSATL
Developing FAST Queries - SPSATLDeveloping FAST Queries - SPSATL
Developing FAST Queries - SPSATL
 
Keys to SharePoint Search - SPS Philly
Keys to SharePoint Search - SPS PhillyKeys to SharePoint Search - SPS Philly
Keys to SharePoint Search - SPS Philly
 
Developing Reusable Workflow Features (SPSVB)
Developing Reusable Workflow Features (SPSVB)Developing Reusable Workflow Features (SPSVB)
Developing Reusable Workflow Features (SPSVB)
 
How Many Sites Do I Need? (SPSVB)
How Many Sites Do I Need? (SPSVB)How Many Sites Do I Need? (SPSVB)
How Many Sites Do I Need? (SPSVB)
 
Developing Reusable Workflow Features (SPS Richmond)
Developing Reusable Workflow Features (SPS Richmond)Developing Reusable Workflow Features (SPS Richmond)
Developing Reusable Workflow Features (SPS Richmond)
 
CASPUG - Developing Reusable Workflow Features
CASPUG - Developing Reusable Workflow FeaturesCASPUG - Developing Reusable Workflow Features
CASPUG - Developing Reusable Workflow Features
 
Spstc2011 Getting the Most from SharePoint's User Profiles
Spstc2011   Getting the Most from SharePoint's User ProfilesSpstc2011   Getting the Most from SharePoint's User Profiles
Spstc2011 Getting the Most from SharePoint's User Profiles
 
Spstc2011 Developing Reusable Workflow Features
Spstc2011   Developing Reusable Workflow FeaturesSpstc2011   Developing Reusable Workflow Features
Spstc2011 Developing Reusable Workflow Features
 
Getting the Most from SharePoint's User Profiles
Getting the Most from SharePoint's User ProfilesGetting the Most from SharePoint's User Profiles
Getting the Most from SharePoint's User Profiles
 
Getting the Most from SharePoint's User Profiles
Getting the Most from SharePoint's User ProfilesGetting the Most from SharePoint's User Profiles
Getting the Most from SharePoint's User Profiles
 
Spsvb Developer Intro to SharePoint Search
Spsvb   Developer Intro to SharePoint SearchSpsvb   Developer Intro to SharePoint Search
Spsvb Developer Intro to SharePoint Search
 
Spsvb Getting the Most from user profiles
Spsvb   Getting the Most from user profilesSpsvb   Getting the Most from user profiles
Spsvb Getting the Most from user profiles
 

Recently uploaded

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Create Tailored Search Results through Customized Display Templates

  • 1. SPSATL 2014 Create Tailored Search Results w/ Display Templates SHAREPOINT SATURDAY ATLANTA – JUNE 21, 2013 MIKE ORYSZAK BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK
  • 2. SPSATL 2014 About Me Senior SharePoint Solution Architect w/ B&R Solutions Microsoft SharePoint Server MVP (5-time) Leader for Triangle SharePoint User Group (TriSPUG) Dev and Architect with MS stack since 1996 Working with SharePoint since 2002 Raleigh-Durham, NC Scan the QR code for a chance to win a prize! BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK 2
  • 3. 3 SharePoint Saturday Atlanta3 |SharePoint Saturday Atlanta
  • 4. 4 SharePoint Saturday Atlanta4 |SharePoint Saturday Atlanta
  • 5. 5 SharePoint Saturday Atlanta5 |SharePoint Saturday Atlanta
  • 6. 6 SharePoint Saturday Atlanta6 |SharePoint Saturday Atlanta Lunch Snack SharePint SpeakerShirts AttendeeShirts AbelSolutions SpeakerDinner
  • 7. SPSATL 2014 Session Overview Display Template Basics How to Work With Display Templates Examples: Example 1 – Simple tweak of standard results Example 2 – Show results in a grid view Example 3 – Working with People Results Example 4 – Customize the hover panel Closeout Target Audience: Developers interested in creating customized result displays or building search driving applications. BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK 7
  • 8. SPSATL 2014 Display Template Basics CREATE TAILORED SEARCH RESULTS W/ DISPLAY TEMPLATES BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK 8
  • 9. SPSATL 2014 Display Template Basics What are Display Templates? Display templates are used by the Search related Web Parts to render search results in SharePoint 2013 They leverage client side code to allow for dynamic injection and rendering Important to note: Part of the Design Manager layer BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK 9
  • 10. SPSATL 2014 Display Template Basics Located in the Master Page Gallery at the Site Collection level Under Display Templates/Search Considerations Can map a drive to the gallery or upload the files individually Pair of files for each template; html and javascript You work with html, the javascript file is generated when the html file is saved to the gallery Display Template Reference: http://technet.microsoft.com/en-us/library/jj944947(v=office.15).aspx BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK 10
  • 11. SPSATL 2014 Display Template Basics Process Flow with Result Type Rules Dynamically selects which template to use on each item based on the rules BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK 11
  • 12. SPSATL 2014 Display Template Basics Process Flow with Result Type Rules Central Control File Specified item template shows all items formatted the same way BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK 12
  • 13. SPSATL 2014 Examples CREATE TAILORED SEARCH RESULTS W/ DISPLAY TEMPLATES BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK 13
  • 14. SPSATL 2014 Tweak Standard Results Simple example to get us started, minor format changes to existing display BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK 14
  • 15. SPSATL 2014 Grid View Results Modify the results to show them in a grid/table view BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK 15
  • 16. SPSATL 2014 Working With People Results Working with People results and presence BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK 16
  • 17. SPSATL 2014 Customizing the Hover Panel Provide layout changes to the hover panel BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK 17
  • 18. SPSATL 2014 Closeout CREATE TAILORED SEARCH RESULTS W/ DISPLAY TEMPLATES BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK 19
  • 19. SPSATL 2014 Questions? BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK 20
  • 20. SPSATL 2014 Resources Design Manager display templates http://msdn.microsoft.com/en-us/library/office/jj945138(v=office.15).aspx Display Template Reference http://technet.microsoft.com/en-us/library/jj944947(v=office.15).aspx Add Presence to SharePoint Search Results – Matthew McDermott http://www.ableblue.com/blog/archive/2013/06/05/add-presence-to-sharepoint-search-results/ Search Results in Grid View http://mikeoryszak.com/2014/05/search-results-in-grid-view/ My Search Blog Posts http://mikeoryszak.com/tag/search/ BLOG: WWW.MIKEORYSZAK.COM TWITTER: @NEXT_CONNECT LINKEDIN: HTTP://WWW.LINKEDIN.COM/IN/MICHAELORYSZAK 21
  • 21. 22 SharePoint Saturday Atlanta22 |SharePoint Saturday Atlanta  Max Lager’s – 320 Peachtree Street NE   The Intersect Group  Max Lager’s Baker Peachtree  See the SPSATL Website for more info and directions Join us for SharePint
  • 22. 23 SharePoint Saturday Atlanta23 |SharePoint Saturday Atlanta SharePint Directions