SlideShare a Scribd company logo
CustomizingSharePoint
2013Search forOn-premise
andOffice365 environments
TonyTesta
Bio
 SharePointConsultant with Premier Logic
 Former SharePoint MVP (2010)
 Development focused
 http://www.tonytestasworld.com
 awtesta@gmail.com
 Twitter: @awtesta
What was
available in
SharePoint
2010?
 Scopes / Rules / Crawled Properties / Managed Properties
 Central Admin / Search Service
 Some site/site collection specific options
 Heavily XML/XSLT based to customize results
 SQL Syntax and KQL syntax
What’s new for
search in
SharePoint
2013
 Search greatly improved, FAST incorporated
 Search Syntax
 FQL – FAST Query Language
 KQL – Keyword Query Language
 SQL Syntax is gone
 Continuous Crawling
 Result Sources replace scopes
 DisplayTemplates allow for HTML/JS customization
 Results
 Hover Panels
 Search box
 Refiners
 No more XML/XSLT!
 Site/SiteCollection/Cental Admin config options
 Crawled properties auto promoted to Managed Properties
Anatomy of a
search request
1. Applying anyWeb Part transforms.
2. Applying any query rules.A query rule action can either transform
the original query or it can trigger a parallel query that is
transformed for a result block.
3. Applying any query transforms on result sources.
4. Parsing the query and creating a query syntax tree for internal use.
5. Processing the query linguistically by performing word breaking,
stemming, spelling correction, and synonym expansion.
6. Appending user-access information to the query.This specifies the
user who is performing the query and the permissions that the
user has.
7. Sending the query to the search index or another search provider.
8. Collecting and merging search results from all search providers
and sending them back to the query processing component.
9. Evaluating the search results against result types. If a result
matches a particular result type, the result is displayed by using
the display template that you have specified for the result type.
10. Applying additional security trimming, if appropriate.
ResultSource
 Replace 2010 Scopes
 PerTechNet: "In SharePoint Server 2010, scopes and federated
locations provided ways to limit searches to a certain set of
content or subset of search results. In SharePoint Server 2013,
result sources replace scopes and federated locations.“
 When a user issues a query, the search system associates the
query with a result source to provide search results.
 There are 16 pre-configured result sources
Query
Transforms
 Part of Result Sources
 Allows you to “transform” the users incoming query so that its
more specific and returns only desired content
 Example: LocalVideo Results
 {searchTerms?} {?path:{Scope}}
{?owstaxIdMetadataAllTagsInfo:{Tag}}
(ContentTypeId:0x0120D520A808* OR
(SecondaryFileExtension=wmv OR SecondaryFileExtension=avi OR
SecondaryFileExtension=mpgOR SecondaryFileExtension=asf OR
SecondaryFileExtension=mp4OR SecondaryFileExtension=oggOR
SecondaryFileExtension=ogv OR SecondaryFileExtension=webm))
ResultTypes
 Main point of this talk
 PerTechNet: A rule that causes distinct kinds of search results to
be displayed in different ways
 One or more characteristics or conditions to compare each search
result against, such as the result source or content type of the search
result
 A display template to use for search results that meet the
conditions.The display template controls the way in which all results
that meet the conditions appear and behave on a search results
page.
 31 OOTB result types
 MicrosoftWord, Microsoft PowerPoint,
Video,PDF,Person,SharePoint List
Query Rules
 Allows admins to help respond to the intent of a users query
 Help the users to help themselves
 example
 If a rule is met, additional actions can be performed
 Add Promoted Results
 Add Result Blocks
 Change result rankings
 Can be configured with publishing settings
 Set rules to expire
 Could be helpful in internet publishing site scenarios
Demo: ResultSource/Type
Display
Templates
 Allow for customizing search results granularly
 Very extensible
 Imagination is the only real barrier
 Lots of 3rd party options; jQuery, Knockout, etc.
 Types
 Item
 Hover Panel
 Refiners
 Search Box
 HTML/Javascript based
 No more XSLT !
 Uses Client-side Rendering (CSR)
 Similar to new masterpages, you edit the HTML and JS files is
generated for you
 Can be leveraged in search results as well as content search web part
Demo: DisplayTemplates
Overview
What can/can’t
be done in
Display
Templates
 What can be done
 Localization
 Client side code
 Calling web services
 Css style
 What can’t be done
 I’ve noticed some issues when you want to use the tenant/site
collection admin; have to leverage existing managed props if you
want a refinable or sortable prop
Demo: DisplayTemplate
Demo: DisplayTemplate
Modifications
What is the ctx
object and
what does it
do?
 Best explanation I have at the moment is that it’s a “context”
object that has the properties for the result
 Best to look at it in chrome by adding “debugger;” line
 Where to go for documentation
 ????Google seems to be of no use
 Look at OOTB templates for MS uses
What is the
Srch.U object /
namespace
 Similar to the ctx object, I don’t have a great answer
 Best to look at it in chrome by adding “debugger;” line
 Seems to have helper methods
 You can learn a lot by looking at debugger output
 Where to go for documentation
 ????Google seems to be of no use
 Look at OOTB templates for MS uses
When in
doubt, look at
OOTB
templates
 There are ~ 90 OOTB templates that you can look at
Demo: Hover Panel
Demo: RefinerTemplate
What can/can’t
be done on
Office 365
 What can be done
 Most of basic search stuff I’ve shown
 Sources/Types
 Modifying look and feel of results
 DisplayTemplates, Hover Panels, Refinement
 What can’t be done
 External calls with jQuery /customWCF service may not work or may
be more trouble than they are worth
Demo:Office 365
DisplayTemplate
Demo: DebuggingTechniques
Demo: How can I deploy
my modifications ?
Platinum
Gold
Silver Web
SharePoint User Group
• SharePoint
• End Users
• Administrators
• Architects
• Developers
• IT Pros
• Meetings: 2nd Tuesday of the month, Microsoft Malvern, 5:30-8
pm
WEB: www.TriStateSharePoint.org
EMAIL: info@TriStateSharePoint.org
TWITTER: @tristateSP

More Related Content

What's hot

Optimizing public facing SharePoint sites
Optimizing public facing SharePoint sitesOptimizing public facing SharePoint sites
Optimizing public facing SharePoint sites
Gunnar Peipman
 
SharePoint: How to automatically assign managed metadata?
SharePoint: How to automatically assign managed metadata?SharePoint: How to automatically assign managed metadata?
SharePoint: How to automatically assign managed metadata?
Layer2
 
10 Quick Wins - No Code
10 Quick Wins - No Code10 Quick Wins - No Code
10 Quick Wins - No Code
Joshua Haebets
 
Sharepoint Document Management System (DMS) Features
Sharepoint Document Management System (DMS) Features Sharepoint Document Management System (DMS) Features
Sharepoint Document Management System (DMS) Features
Nitin Gupta
 
Introduction to whats new in css3
Introduction to whats new in css3Introduction to whats new in css3
Introduction to whats new in css3
Usman Mehmood
 
HTML5 - An Introduction
HTML5 - An IntroductionHTML5 - An Introduction
HTML5 - An IntroductionTimmy Kokke
 
Image Slider with SharePoint 2013 Search Results Web Part
Image Slider with SharePoint 2013 Search Results Web PartImage Slider with SharePoint 2013 Search Results Web Part
Image Slider with SharePoint 2013 Search Results Web Part
GSoft
 
SharePoint Branding Guidance @ SharePoint Saturday Redmond
SharePoint Branding Guidance @ SharePoint Saturday RedmondSharePoint Branding Guidance @ SharePoint Saturday Redmond
SharePoint Branding Guidance @ SharePoint Saturday Redmond
Kanwal Khipple
 
Building a SharePoint Platform That Scales
Building a SharePoint Platform That ScalesBuilding a SharePoint Platform That Scales
Building a SharePoint Platform That Scales
Scott Hoag
 
Presentation Moss 2007 Usman
Presentation Moss 2007 UsmanPresentation Moss 2007 Usman
Presentation Moss 2007 UsmanUsman Zafar Malik
 

What's hot (10)

Optimizing public facing SharePoint sites
Optimizing public facing SharePoint sitesOptimizing public facing SharePoint sites
Optimizing public facing SharePoint sites
 
SharePoint: How to automatically assign managed metadata?
SharePoint: How to automatically assign managed metadata?SharePoint: How to automatically assign managed metadata?
SharePoint: How to automatically assign managed metadata?
 
10 Quick Wins - No Code
10 Quick Wins - No Code10 Quick Wins - No Code
10 Quick Wins - No Code
 
Sharepoint Document Management System (DMS) Features
Sharepoint Document Management System (DMS) Features Sharepoint Document Management System (DMS) Features
Sharepoint Document Management System (DMS) Features
 
Introduction to whats new in css3
Introduction to whats new in css3Introduction to whats new in css3
Introduction to whats new in css3
 
HTML5 - An Introduction
HTML5 - An IntroductionHTML5 - An Introduction
HTML5 - An Introduction
 
Image Slider with SharePoint 2013 Search Results Web Part
Image Slider with SharePoint 2013 Search Results Web PartImage Slider with SharePoint 2013 Search Results Web Part
Image Slider with SharePoint 2013 Search Results Web Part
 
SharePoint Branding Guidance @ SharePoint Saturday Redmond
SharePoint Branding Guidance @ SharePoint Saturday RedmondSharePoint Branding Guidance @ SharePoint Saturday Redmond
SharePoint Branding Guidance @ SharePoint Saturday Redmond
 
Building a SharePoint Platform That Scales
Building a SharePoint Platform That ScalesBuilding a SharePoint Platform That Scales
Building a SharePoint Platform That Scales
 
Presentation Moss 2007 Usman
Presentation Moss 2007 UsmanPresentation Moss 2007 Usman
Presentation Moss 2007 Usman
 

Similar to Customizing SharePoint 2013 search display templates

SharePoint Jumpstart #2 Making Basic SharePoint Search Work
SharePoint Jumpstart #2 Making Basic SharePoint Search WorkSharePoint Jumpstart #2 Making Basic SharePoint Search Work
SharePoint Jumpstart #2 Making Basic SharePoint Search Work
Earley Information Science
 
SharePoint Saturday Perth 2013 - Overview of Search in SharePoint Server 201...
SharePoint Saturday Perth 2013  - Overview of Search in SharePoint Server 201...SharePoint Saturday Perth 2013  - Overview of Search in SharePoint Server 201...
SharePoint Saturday Perth 2013 - Overview of Search in SharePoint Server 201...
Sezai Komur
 
Whats new in search in SharePoint 2013
Whats new in search in SharePoint 2013Whats new in search in SharePoint 2013
Whats new in search in SharePoint 2013
Michal Pisarek
 
TechDays11 Geneva - Going Further with SharePoint 2010 Search
TechDays11 Geneva - Going Further with SharePoint 2010 SearchTechDays11 Geneva - Going Further with SharePoint 2010 Search
TechDays11 Geneva - Going Further with SharePoint 2010 SearchMarius Constantinescu [MVP]
 
Overview of Search in SharePoint Server 2013 - Australian SharePoint Conferen...
Overview of Search in SharePoint Server 2013 - Australian SharePoint Conferen...Overview of Search in SharePoint Server 2013 - Australian SharePoint Conferen...
Overview of Search in SharePoint Server 2013 - Australian SharePoint Conferen...
Sezai Komur
 
Exploring the New Search in SharePoint 2013 - What can you do now?
Exploring the New Search in SharePoint 2013 - What can you do now?Exploring the New Search in SharePoint 2013 - What can you do now?
Exploring the New Search in SharePoint 2013 - What can you do now?
Benjamin Niaulin
 
Leverage Search and Customize to your Brand within SharePoint 2010
Leverage Search and Customize to your Brand within SharePoint 2010Leverage Search and Customize to your Brand within SharePoint 2010
Leverage Search and Customize to your Brand within SharePoint 2010
Chaitu Madala
 
Benchmarking SharePoint: The SharePoint Maturity Model
Benchmarking SharePoint: The SharePoint Maturity ModelBenchmarking SharePoint: The SharePoint Maturity Model
Benchmarking SharePoint: The SharePoint Maturity Model
SurfRay
 
Enhancing Relevancy & User Experience with #SharePoint Search sps-philly 2015
Enhancing Relevancy & User Experience with #SharePoint Search   sps-philly 2015Enhancing Relevancy & User Experience with #SharePoint Search   sps-philly 2015
Enhancing Relevancy & User Experience with #SharePoint Search sps-philly 2015
Gina Montgomery, V-TSP
 
Search Server Presentation
Search Server PresentationSearch Server Presentation
Search Server Presentation
Joshua Haebets
 
SharePoint Search Zero to Search Hero
SharePoint Search Zero to Search HeroSharePoint Search Zero to Search Hero
SharePoint Search Zero to Search Hero
Ed Musters
 
What's new in SharePoint 2013 - Discover it
What's new in SharePoint 2013 - Discover itWhat's new in SharePoint 2013 - Discover it
What's new in SharePoint 2013 - Discover it
Benjamin Niaulin
 
Enhancing Relevancy & User Experience with SharePoint Search - SPSBMORE 2015
Enhancing Relevancy & User Experience with SharePoint Search - SPSBMORE 2015Enhancing Relevancy & User Experience with SharePoint Search - SPSBMORE 2015
Enhancing Relevancy & User Experience with SharePoint Search - SPSBMORE 2015
Gina Montgomery, V-TSP
 
#SPSPhilly search topology & optimization
#SPSPhilly search topology & optimization#SPSPhilly search topology & optimization
#SPSPhilly search topology & optimization
Mike Maadarani
 
Solve Todays Problems with 10 New SharePoint 2010 Features
Solve Todays Problems with 10 New SharePoint 2010 FeaturesSolve Todays Problems with 10 New SharePoint 2010 Features
Solve Todays Problems with 10 New SharePoint 2010 FeaturesCory Peters
 
SharePoint 2013 Search Topology and Optimization
SharePoint 2013 Search Topology and OptimizationSharePoint 2013 Search Topology and Optimization
SharePoint 2013 Search Topology and Optimization
Mike Maadarani
 
Enhancing-Relevancy-and-user-experience-with-SharePoint-search-spsdc-2015
Enhancing-Relevancy-and-user-experience-with-SharePoint-search-spsdc-2015Enhancing-Relevancy-and-user-experience-with-SharePoint-search-spsdc-2015
Enhancing-Relevancy-and-user-experience-with-SharePoint-search-spsdc-2015
Gina Montgomery, V-TSP
 
Enhancing Relevancy & End User Experience with SharePoint Search
Enhancing Relevancy & End User Experience with SharePoint SearchEnhancing Relevancy & End User Experience with SharePoint Search
Enhancing Relevancy & End User Experience with SharePoint Search
Gina Montgomery, V-TSP
 
Sharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra usSharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra us
QUONTRASOLUTIONS
 
The Searchmaster's Toolbox - David Hawking, Funnelback Search
The Searchmaster's Toolbox - David Hawking, Funnelback SearchThe Searchmaster's Toolbox - David Hawking, Funnelback Search
The Searchmaster's Toolbox - David Hawking, Funnelback Search
Squiz
 

Similar to Customizing SharePoint 2013 search display templates (20)

SharePoint Jumpstart #2 Making Basic SharePoint Search Work
SharePoint Jumpstart #2 Making Basic SharePoint Search WorkSharePoint Jumpstart #2 Making Basic SharePoint Search Work
SharePoint Jumpstart #2 Making Basic SharePoint Search Work
 
SharePoint Saturday Perth 2013 - Overview of Search in SharePoint Server 201...
SharePoint Saturday Perth 2013  - Overview of Search in SharePoint Server 201...SharePoint Saturday Perth 2013  - Overview of Search in SharePoint Server 201...
SharePoint Saturday Perth 2013 - Overview of Search in SharePoint Server 201...
 
Whats new in search in SharePoint 2013
Whats new in search in SharePoint 2013Whats new in search in SharePoint 2013
Whats new in search in SharePoint 2013
 
TechDays11 Geneva - Going Further with SharePoint 2010 Search
TechDays11 Geneva - Going Further with SharePoint 2010 SearchTechDays11 Geneva - Going Further with SharePoint 2010 Search
TechDays11 Geneva - Going Further with SharePoint 2010 Search
 
Overview of Search in SharePoint Server 2013 - Australian SharePoint Conferen...
Overview of Search in SharePoint Server 2013 - Australian SharePoint Conferen...Overview of Search in SharePoint Server 2013 - Australian SharePoint Conferen...
Overview of Search in SharePoint Server 2013 - Australian SharePoint Conferen...
 
Exploring the New Search in SharePoint 2013 - What can you do now?
Exploring the New Search in SharePoint 2013 - What can you do now?Exploring the New Search in SharePoint 2013 - What can you do now?
Exploring the New Search in SharePoint 2013 - What can you do now?
 
Leverage Search and Customize to your Brand within SharePoint 2010
Leverage Search and Customize to your Brand within SharePoint 2010Leverage Search and Customize to your Brand within SharePoint 2010
Leverage Search and Customize to your Brand within SharePoint 2010
 
Benchmarking SharePoint: The SharePoint Maturity Model
Benchmarking SharePoint: The SharePoint Maturity ModelBenchmarking SharePoint: The SharePoint Maturity Model
Benchmarking SharePoint: The SharePoint Maturity Model
 
Enhancing Relevancy & User Experience with #SharePoint Search sps-philly 2015
Enhancing Relevancy & User Experience with #SharePoint Search   sps-philly 2015Enhancing Relevancy & User Experience with #SharePoint Search   sps-philly 2015
Enhancing Relevancy & User Experience with #SharePoint Search sps-philly 2015
 
Search Server Presentation
Search Server PresentationSearch Server Presentation
Search Server Presentation
 
SharePoint Search Zero to Search Hero
SharePoint Search Zero to Search HeroSharePoint Search Zero to Search Hero
SharePoint Search Zero to Search Hero
 
What's new in SharePoint 2013 - Discover it
What's new in SharePoint 2013 - Discover itWhat's new in SharePoint 2013 - Discover it
What's new in SharePoint 2013 - Discover it
 
Enhancing Relevancy & User Experience with SharePoint Search - SPSBMORE 2015
Enhancing Relevancy & User Experience with SharePoint Search - SPSBMORE 2015Enhancing Relevancy & User Experience with SharePoint Search - SPSBMORE 2015
Enhancing Relevancy & User Experience with SharePoint Search - SPSBMORE 2015
 
#SPSPhilly search topology & optimization
#SPSPhilly search topology & optimization#SPSPhilly search topology & optimization
#SPSPhilly search topology & optimization
 
Solve Todays Problems with 10 New SharePoint 2010 Features
Solve Todays Problems with 10 New SharePoint 2010 FeaturesSolve Todays Problems with 10 New SharePoint 2010 Features
Solve Todays Problems with 10 New SharePoint 2010 Features
 
SharePoint 2013 Search Topology and Optimization
SharePoint 2013 Search Topology and OptimizationSharePoint 2013 Search Topology and Optimization
SharePoint 2013 Search Topology and Optimization
 
Enhancing-Relevancy-and-user-experience-with-SharePoint-search-spsdc-2015
Enhancing-Relevancy-and-user-experience-with-SharePoint-search-spsdc-2015Enhancing-Relevancy-and-user-experience-with-SharePoint-search-spsdc-2015
Enhancing-Relevancy-and-user-experience-with-SharePoint-search-spsdc-2015
 
Enhancing Relevancy & End User Experience with SharePoint Search
Enhancing Relevancy & End User Experience with SharePoint SearchEnhancing Relevancy & End User Experience with SharePoint Search
Enhancing Relevancy & End User Experience with SharePoint Search
 
Sharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra usSharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra us
 
The Searchmaster's Toolbox - David Hawking, Funnelback Search
The Searchmaster's Toolbox - David Hawking, Funnelback SearchThe Searchmaster's Toolbox - David Hawking, Funnelback Search
The Searchmaster's Toolbox - David Hawking, Funnelback Search
 

Recently uploaded

GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Zilliz
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
Pixlogix Infotech
 

Recently uploaded (20)

GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
 

Customizing SharePoint 2013 search display templates

  • 2. Bio  SharePointConsultant with Premier Logic  Former SharePoint MVP (2010)  Development focused  http://www.tonytestasworld.com  awtesta@gmail.com  Twitter: @awtesta
  • 3.
  • 4. What was available in SharePoint 2010?  Scopes / Rules / Crawled Properties / Managed Properties  Central Admin / Search Service  Some site/site collection specific options  Heavily XML/XSLT based to customize results  SQL Syntax and KQL syntax
  • 5.
  • 6.
  • 7. What’s new for search in SharePoint 2013  Search greatly improved, FAST incorporated  Search Syntax  FQL – FAST Query Language  KQL – Keyword Query Language  SQL Syntax is gone  Continuous Crawling  Result Sources replace scopes  DisplayTemplates allow for HTML/JS customization  Results  Hover Panels  Search box  Refiners  No more XML/XSLT!  Site/SiteCollection/Cental Admin config options  Crawled properties auto promoted to Managed Properties
  • 8. Anatomy of a search request 1. Applying anyWeb Part transforms. 2. Applying any query rules.A query rule action can either transform the original query or it can trigger a parallel query that is transformed for a result block. 3. Applying any query transforms on result sources. 4. Parsing the query and creating a query syntax tree for internal use. 5. Processing the query linguistically by performing word breaking, stemming, spelling correction, and synonym expansion. 6. Appending user-access information to the query.This specifies the user who is performing the query and the permissions that the user has. 7. Sending the query to the search index or another search provider. 8. Collecting and merging search results from all search providers and sending them back to the query processing component. 9. Evaluating the search results against result types. If a result matches a particular result type, the result is displayed by using the display template that you have specified for the result type. 10. Applying additional security trimming, if appropriate.
  • 9.
  • 10. ResultSource  Replace 2010 Scopes  PerTechNet: "In SharePoint Server 2010, scopes and federated locations provided ways to limit searches to a certain set of content or subset of search results. In SharePoint Server 2013, result sources replace scopes and federated locations.“  When a user issues a query, the search system associates the query with a result source to provide search results.  There are 16 pre-configured result sources
  • 11. Query Transforms  Part of Result Sources  Allows you to “transform” the users incoming query so that its more specific and returns only desired content  Example: LocalVideo Results  {searchTerms?} {?path:{Scope}} {?owstaxIdMetadataAllTagsInfo:{Tag}} (ContentTypeId:0x0120D520A808* OR (SecondaryFileExtension=wmv OR SecondaryFileExtension=avi OR SecondaryFileExtension=mpgOR SecondaryFileExtension=asf OR SecondaryFileExtension=mp4OR SecondaryFileExtension=oggOR SecondaryFileExtension=ogv OR SecondaryFileExtension=webm))
  • 12. ResultTypes  Main point of this talk  PerTechNet: A rule that causes distinct kinds of search results to be displayed in different ways  One or more characteristics or conditions to compare each search result against, such as the result source or content type of the search result  A display template to use for search results that meet the conditions.The display template controls the way in which all results that meet the conditions appear and behave on a search results page.  31 OOTB result types  MicrosoftWord, Microsoft PowerPoint, Video,PDF,Person,SharePoint List
  • 13. Query Rules  Allows admins to help respond to the intent of a users query  Help the users to help themselves  example  If a rule is met, additional actions can be performed  Add Promoted Results  Add Result Blocks  Change result rankings  Can be configured with publishing settings  Set rules to expire  Could be helpful in internet publishing site scenarios
  • 15. Display Templates  Allow for customizing search results granularly  Very extensible  Imagination is the only real barrier  Lots of 3rd party options; jQuery, Knockout, etc.  Types  Item  Hover Panel  Refiners  Search Box  HTML/Javascript based  No more XSLT !  Uses Client-side Rendering (CSR)  Similar to new masterpages, you edit the HTML and JS files is generated for you  Can be leveraged in search results as well as content search web part
  • 17. What can/can’t be done in Display Templates  What can be done  Localization  Client side code  Calling web services  Css style  What can’t be done  I’ve noticed some issues when you want to use the tenant/site collection admin; have to leverage existing managed props if you want a refinable or sortable prop
  • 20. What is the ctx object and what does it do?  Best explanation I have at the moment is that it’s a “context” object that has the properties for the result  Best to look at it in chrome by adding “debugger;” line  Where to go for documentation  ????Google seems to be of no use  Look at OOTB templates for MS uses
  • 21. What is the Srch.U object / namespace  Similar to the ctx object, I don’t have a great answer  Best to look at it in chrome by adding “debugger;” line  Seems to have helper methods  You can learn a lot by looking at debugger output  Where to go for documentation  ????Google seems to be of no use  Look at OOTB templates for MS uses
  • 22. When in doubt, look at OOTB templates  There are ~ 90 OOTB templates that you can look at
  • 25. What can/can’t be done on Office 365  What can be done  Most of basic search stuff I’ve shown  Sources/Types  Modifying look and feel of results  DisplayTemplates, Hover Panels, Refinement  What can’t be done  External calls with jQuery /customWCF service may not work or may be more trouble than they are worth
  • 28. Demo: How can I deploy my modifications ?
  • 30. SharePoint User Group • SharePoint • End Users • Administrators • Architects • Developers • IT Pros • Meetings: 2nd Tuesday of the month, Microsoft Malvern, 5:30-8 pm WEB: www.TriStateSharePoint.org EMAIL: info@TriStateSharePoint.org TWITTER: @tristateSP