SlideShare a Scribd company logo
1 of 37
November 23rd, 2013

Image Slider with SharePoint 2013
Search Results Web Part
Thank you to all of our Sponsors!!
WHO

ARE WE?
Yohan Belval

SharePoint specialist at GSoft
(Montreal)
http://www.gsoft.com/en/blog
Web site (http://gsoft.com)
yohan.belval@gsoft-group.com
@yohanbelval

SharePoint Dynamite Team
Framework on GitHub

SPS OTTAWA | 3
WHO

ARE WE?
Edouard Shaar

SharePoint specialist at GSoft
(Montreal)
http://www.gsoft.com/en/blog
Web site (http://gsoft.com)
edouard.shaar@gsoft-group.com

SharePoint Dynamite Team
Framework on GitHub
SPS OTTAWA | 4
SESSION

ABSTRACT
Don’t have access to the enterprise version of SharePoint 2013? Stuck
on Office 365*? Unable to use the Content Search Web Part? No
Problem! Let’s build an image slider with the Search Results Web Part
using the out of box functionality.
Based on blog posts by Yohan Belval
SharePoint 2013
SharePoint 2010
*Note: Content Search Web Part is now available in Office 365 E3 and
E4 enterprise plans.

SPS OTTAWA | 5
SESSION

OUTLINE
Introduction
Search Results Web Part vs. Content Search Web Part
Configuring your image source and returning results
Using display templates
What’s a display template
Different types
Example

Putting together the slider
Using a slider plugin
Demo: Building the display templates
Demo: Configuring the Search Results Web Part

Conclusion

SPS OTTAWA | 6
INTRODUCTION

SPS OTTAWA | 7
PROBLEMS…
A slider component is a common requirement for web sites
Enterprise only solution offered by OOTB SharePoint
Not available in all of the Office 365 plans
Not willing to spend much effort into a custom developed Web Part

SPS OTTAWA | 8
WHAT ABOUT SHAREPOINT 2010?
Content Query Web Part
XSLT

Search core results Web Part
More XSLT

Code

SPS OTTAWA | 9
NO MORE XSLT PLEASE…

- <xsl:if test="stringlength($SafeImageUrl) = 0 and
string-length($SafeImageHtml) !=
0"> - <div class="image-arearight"> <xsl:value-of disableoutput-escaping="yes"
select="$SafeImageHtml" /> </div>
</xsl:if> - <xsl:if test="stringlength($SafeImageUrl) != 0"> - <div
class="image-area-right"> - <a
href="{$SafeLinkUrl}"
target="{$LinkTarget}">

SPS OTTAWA | 10
THANK YOU SHAREPOINT 2013!
Display templates (knowledge of HTML rather that XSLT, etc.)
Use the search engine
No need to open up Visual Studios
Solution available for use in all versions of SharePoint 2013

SPS OTTAWA | 11
SEARCH RESULTS WEB PART VS.
CONTENT SEARCH WEB PART

SPS OTTAWA | 12
CONTENT SEARCH WEB PART:
Built-in display templates
Different slideshow styles
No need to configure a display template

SPS OTTAWA | 13
CONTENT SEARCH WEB PART:
Built-in slider

SPS OTTAWA | 14
CONTENT SEARCH WEB PART:
Property mappings
Remember the CQWP slots
in SharePoint 2010?
Replaces the field names
with variables – allows you to
easily redefine what data to
show
You can add multiple
properties

SPS OTTAWA | 15
CONTENT SEARCH WEB PART:
Honorable mention… “number of items”
Specify the number of items
to show in the results
Odd behavior

SPS OTTAWA | 16
SO, IS THE CONTENT SEARCH WEB
PART WORTH IT?
If you have access to it and it meets your requirements, why not
If not, the Search Results Web Part is a worthy alternative
Most of the functionalities in the CSWP are found in the SRWP
If you think the built-in slideshow is ugly, you still have to create your
own display template

SPS OTTAWA | 17
CONFIGURING YOUR IMAGE SOURCE

SPS OTTAWA | 18
USE A PICTURE / ASSET LIBRARY
Preconfigured content types
Thumbnail view

SPS OTTAWA | 19
CRAWL THE CONTENT…

SPS OTTAWA | 20
DEMO: CONFIGURE YOUR SEARCH
RESULTS WEB PART

SPS OTTAWA | 21
DISPLAY TEMPLATES

SPS OTTAWA | 22
WHAT’S A DISPLAY TEMPLATE?
No more XSLT; replaced with HTML and JavaScript
Uses managed properties to show information
Stored in “~sitecollection/_catalogs/masterpage/Display Templates”

SPS OTTAWA | 23
TYPES OF DISPLAY TEMPLATES:
Control Template
Control
Similar to ContentQueryMain.xsl for the Content Query Web Part
Acts as a container for the items
Calls Render Items

SPS OTTAWA | 24
OVERVIEW

SPS OTTAWA | 25
TYPES OF DISPLAY TEMPLATES:
Item Template
Item
Similar to the itemstyle.xsl
Renders a single item
Contains the Managed Metadata property bindings

SPS OTTAWA | 26
OVERVIEW

SPS OTTAWA | 27
TYPES OF DISPLAY TEMPLATES:
Group and Filter Templates
Group
Used for result blocks like Promoted results (Best Bets)
Difficult to configure.
On one available OOB

Filter
Used in the refinements web part
Example: Range Slider

SPS OTTAWA | 28
OVERVIEW

SPS OTTAWA | 29
EXAMPLE OF AN ITEM TEMPLATE

SPS OTTAWA | 30
PUTTING TOGETHER THE SLIDER

SPS OTTAWA | 31
USING A SLIDER PLUGIN
Leverage existing plugin instead of coding your own
Freedom to select the plugin that best suites your needs
Integrate the plugin structure into your Display Templates
HTML, JavaScript, and JavaScript framework (JQuery)

We chose SlidesJS (http://slidesjs.com/)
Previous experience
Knowledge of JQuery
Reliable – Author keeps it up to date

SPS OTTAWA | 32
DEMO: BUILDING THE DISPLAY
TEMPLATES

SPS OTTAWA | 33
DEMO: CONFIGURING THE SEARCH
RESULTS WEB PART

SPS OTTAWA | 34
CONCLUSION

SPS OTTAWA | 35
WHAT TO REMEMBER
Use the Search Results Web Part when:
You don’t have access to SharePoint 2013 Enterprise
The OOTB slider packaged with the Content Search Web Part just
doesn’t cut it

No more XSLT
Some HTML and JavaScript knowledge needed

SPS OTTAWA | 36
Remember to fill out your evaluation forms to win some great prizes!

&
Join us for SharePint today!

Nov 23rd, 2013 @6:00 pm
The Observatory Pub,
Algonquin Student’s Association
Address:
A-170 on Algonquin Campus
Parking:
No need to move your car!*
Site: http://www.algonquinsa.com/ob.aspx
Date & Time:
Location:

More Related Content

What's hot

Basics of SharePoint
Basics of SharePointBasics of SharePoint
Basics of SharePoint
samirsangli
 
SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...
SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...
SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...
Nik Patel
 
Getting The Most Out Of SP Search SPSTC
Getting The Most Out Of SP Search SPSTCGetting The Most Out Of SP Search SPSTC
Getting The Most Out Of SP Search SPSTC
John Ross
 

What's hot (20)

Share Point 2010 Site Solutions – Knowledge Base
Share Point 2010 Site Solutions – Knowledge BaseShare Point 2010 Site Solutions – Knowledge Base
Share Point 2010 Site Solutions – Knowledge Base
 
SPCA2013 - Content Search Web Part
SPCA2013 - Content Search Web PartSPCA2013 - Content Search Web Part
SPCA2013 - Content Search Web Part
 
SPSLondon 2015 Evolving with Office 365 and SharePoint Online Collaboration T...
SPSLondon 2015 Evolving with Office 365 and SharePoint Online Collaboration T...SPSLondon 2015 Evolving with Office 365 and SharePoint Online Collaboration T...
SPSLondon 2015 Evolving with Office 365 and SharePoint Online Collaboration T...
 
Basics of SharePoint
Basics of SharePointBasics of SharePoint
Basics of SharePoint
 
Product Catalog and IT Service Management
Product Catalog and IT Service ManagementProduct Catalog and IT Service Management
Product Catalog and IT Service Management
 
Introduction To Microsoft SharePoint 2013
Introduction To Microsoft SharePoint 2013Introduction To Microsoft SharePoint 2013
Introduction To Microsoft SharePoint 2013
 
SharePoint Development(Lesson 5)
SharePoint Development(Lesson 5)SharePoint Development(Lesson 5)
SharePoint Development(Lesson 5)
 
SharePoint 101
SharePoint 101SharePoint 101
SharePoint 101
 
SharePoint 2016 Hybrid Overview
SharePoint 2016 Hybrid OverviewSharePoint 2016 Hybrid Overview
SharePoint 2016 Hybrid Overview
 
Cloud Saturday Chicago 2016 - Modern Intranet Development Best Practices on S...
Cloud Saturday Chicago 2016 - Modern Intranet Development Best Practices on S...Cloud Saturday Chicago 2016 - Modern Intranet Development Best Practices on S...
Cloud Saturday Chicago 2016 - Modern Intranet Development Best Practices on S...
 
Advanced Office365 Sharepoint online Workflows
Advanced Office365 Sharepoint online WorkflowsAdvanced Office365 Sharepoint online Workflows
Advanced Office365 Sharepoint online Workflows
 
Becoming a SharePoint Design Ninja
Becoming a SharePoint Design NinjaBecoming a SharePoint Design Ninja
Becoming a SharePoint Design Ninja
 
Web Store with Catalog and Product Management
Web Store with Catalog and Product ManagementWeb Store with Catalog and Product Management
Web Store with Catalog and Product Management
 
SharePoint Programming Basic
SharePoint Programming BasicSharePoint Programming Basic
SharePoint Programming Basic
 
2012 MindSurf - Augmenting Business Process with SharePoint
2012 MindSurf - Augmenting Business Process with SharePoint2012 MindSurf - Augmenting Business Process with SharePoint
2012 MindSurf - Augmenting Business Process with SharePoint
 
SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...
SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...
SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...
 
How to Leverage SharePoint 2013 to Organize, Label, Navigate, and Search Your...
How to Leverage SharePoint 2013 to Organize, Label, Navigate, and Search Your...How to Leverage SharePoint 2013 to Organize, Label, Navigate, and Search Your...
How to Leverage SharePoint 2013 to Organize, Label, Navigate, and Search Your...
 
Establishing Content Structure & Information Governance in SharePoint
Establishing Content Structure & Information Governance in SharePointEstablishing Content Structure & Information Governance in SharePoint
Establishing Content Structure & Information Governance in SharePoint
 
Getting The Most Out Of SP Search SPSTC
Getting The Most Out Of SP Search SPSTCGetting The Most Out Of SP Search SPSTC
Getting The Most Out Of SP Search SPSTC
 
What's New and Different in SharePoint 2013
What's New and Different in SharePoint 2013What's New and Different in SharePoint 2013
What's New and Different in SharePoint 2013
 

Viewers also liked

O joão e o pé de feijão
O joão e o pé de feijãoO joão e o pé de feijão
O joão e o pé de feijão
Ana Grave
 

Viewers also liked (10)

Tutorial: Best Practices for Building a Records-Management Deployment in Shar...
Tutorial: Best Practices for Building a Records-Management Deployment in Shar...Tutorial: Best Practices for Building a Records-Management Deployment in Shar...
Tutorial: Best Practices for Building a Records-Management Deployment in Shar...
 
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...
 
SharePoint 2010 Content Query Web Part
SharePoint 2010 Content Query Web PartSharePoint 2010 Content Query Web Part
SharePoint 2010 Content Query Web Part
 
SharePoint and the User Interface with JavaScript
SharePoint and the User Interface with JavaScriptSharePoint and the User Interface with JavaScript
SharePoint and the User Interface with JavaScript
 
ESPC15 T8 - SharePoint Online performances - Serge Luca & Patrick Guimonet
ESPC15 T8 - SharePoint Online performances - Serge Luca & Patrick GuimonetESPC15 T8 - SharePoint Online performances - Serge Luca & Patrick Guimonet
ESPC15 T8 - SharePoint Online performances - Serge Luca & Patrick Guimonet
 
Bringing HTML5 alive in SharePoint
Bringing HTML5 alive in SharePointBringing HTML5 alive in SharePoint
Bringing HTML5 alive in SharePoint
 
SharePoint REST vs CSOM
SharePoint REST vs CSOMSharePoint REST vs CSOM
SharePoint REST vs CSOM
 
Chris O'Brien - Modern SharePoint sites and the SharePoint Framework - reference
Chris O'Brien - Modern SharePoint sites and the SharePoint Framework - referenceChris O'Brien - Modern SharePoint sites and the SharePoint Framework - reference
Chris O'Brien - Modern SharePoint sites and the SharePoint Framework - reference
 
PROJETO JOÃO E O PÉ DE FEIJÃO
PROJETO JOÃO E O PÉ DE FEIJÃOPROJETO JOÃO E O PÉ DE FEIJÃO
PROJETO JOÃO E O PÉ DE FEIJÃO
 
O joão e o pé de feijão
O joão e o pé de feijãoO joão e o pé de feijão
O joão e o pé de feijão
 

Similar to Image Slider with SharePoint 2013 Search Results Web Part

Farewell XSL, Welcome Display Templates SPSNL
Farewell XSL, Welcome Display Templates SPSNLFarewell XSL, Welcome Display Templates SPSNL
Farewell XSL, Welcome Display Templates SPSNL
Elio Struyf
 
Branding share point 2013
Branding share point 2013Branding share point 2013
Branding share point 2013
Khoa Quach
 
SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...
SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...
SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...
BIWUG
 
SharePoint Saturday Kansas City 2015 - Build scalable SharePoint 2013 Workflows
SharePoint Saturday Kansas City 2015 - Build scalable SharePoint 2013 WorkflowsSharePoint Saturday Kansas City 2015 - Build scalable SharePoint 2013 Workflows
SharePoint Saturday Kansas City 2015 - Build scalable SharePoint 2013 Workflows
Brian Culver
 

Similar to Image Slider with SharePoint 2013 Search Results Web Part (20)

Farewell XSL, Welcome Display Templates SPSNL
Farewell XSL, Welcome Display Templates SPSNLFarewell XSL, Welcome Display Templates SPSNL
Farewell XSL, Welcome Display Templates SPSNL
 
SPSSTHLM - Using JSLink and Display Templates for ITPros
SPSSTHLM - Using JSLink and Display Templates for ITProsSPSSTHLM - Using JSLink and Display Templates for ITPros
SPSSTHLM - Using JSLink and Display Templates for ITPros
 
SharePoint 2013 Web Content Management for Developers TSPUG
SharePoint 2013 Web Content Management for Developers TSPUGSharePoint 2013 Web Content Management for Developers TSPUG
SharePoint 2013 Web Content Management for Developers TSPUG
 
SharePoint 2013 Web Content Management for Developers HSPUG
SharePoint 2013 Web Content Management for Developers HSPUGSharePoint 2013 Web Content Management for Developers HSPUG
SharePoint 2013 Web Content Management for Developers HSPUG
 
SUGUK Cambridge - Display Templates & JSLink for IT Pros
SUGUK Cambridge - Display Templates & JSLink for IT ProsSUGUK Cambridge - Display Templates & JSLink for IT Pros
SUGUK Cambridge - Display Templates & JSLink for IT Pros
 
Branding share point 2013
Branding share point 2013Branding share point 2013
Branding share point 2013
 
Iw411 migrating content by search from 2010 into 2013 - minified
Iw411   migrating content by search from 2010 into 2013 - minifiedIw411   migrating content by search from 2010 into 2013 - minified
Iw411 migrating content by search from 2010 into 2013 - minified
 
Spsbe using js-linkanddisplaytemplates
Spsbe   using js-linkanddisplaytemplatesSpsbe   using js-linkanddisplaytemplates
Spsbe using js-linkanddisplaytemplates
 
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
 
SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...
SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...
SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...
 
The A to Z of Building a Responsive SharePoint Site with Bootstrap
The A to Z of Building a Responsive SharePoint Site with BootstrapThe A to Z of Building a Responsive SharePoint Site with Bootstrap
The A to Z of Building a Responsive SharePoint Site with Bootstrap
 
4 tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development4   tools, sandboxed solutionds, web part development
4 tools, sandboxed solutionds, web part development
 
Power Users Guide to Office 365 - Collab365 Summit 2016
Power Users Guide to Office 365 - Collab365 Summit 2016Power Users Guide to Office 365 - Collab365 Summit 2016
Power Users Guide to Office 365 - Collab365 Summit 2016
 
SharePoint 2013 Search - Whats new for End Users
SharePoint 2013 Search - Whats new for End UsersSharePoint 2013 Search - Whats new for End Users
SharePoint 2013 Search - Whats new for End Users
 
Sandboxed Solutions and Apps
Sandboxed Solutions and AppsSandboxed Solutions and Apps
Sandboxed Solutions and Apps
 
Branding SharePoint 2013
Branding SharePoint 2013Branding SharePoint 2013
Branding SharePoint 2013
 
Customizing SharePoint 2013 search display templates
Customizing SharePoint 2013 search display templatesCustomizing SharePoint 2013 search display templates
Customizing SharePoint 2013 search display templates
 
Using js link and display templates
Using js link and display templatesUsing js link and display templates
Using js link and display templates
 
Should you migrate to SharePoint 2013?
Should you migrate to SharePoint 2013?Should you migrate to SharePoint 2013?
Should you migrate to SharePoint 2013?
 
SharePoint Saturday Kansas City 2015 - Build scalable SharePoint 2013 Workflows
SharePoint Saturday Kansas City 2015 - Build scalable SharePoint 2013 WorkflowsSharePoint Saturday Kansas City 2015 - Build scalable SharePoint 2013 Workflows
SharePoint Saturday Kansas City 2015 - Build scalable SharePoint 2013 Workflows
 

More from GSoft

Bâtir une analyse fonctionnelle efficace avec SharePoint.
Bâtir une analyse fonctionnelle efficace avec SharePoint.Bâtir une analyse fonctionnelle efficace avec SharePoint.
Bâtir une analyse fonctionnelle efficace avec SharePoint.
GSoft
 
Utilisation des fonctionnalités de collaboration dans SharePoint 2010 et 2013
Utilisation des fonctionnalités de collaboration dans SharePoint 2010 et 2013Utilisation des fonctionnalités de collaboration dans SharePoint 2010 et 2013
Utilisation des fonctionnalités de collaboration dans SharePoint 2010 et 2013
GSoft
 
Concevoir des applications pilotées par la recherche avec SharePoint 2010 et ...
Concevoir des applications pilotées par la recherche avec SharePoint 2010 et ...Concevoir des applications pilotées par la recherche avec SharePoint 2010 et ...
Concevoir des applications pilotées par la recherche avec SharePoint 2010 et ...
GSoft
 
Mieux comprendre les nouveautés de SharePoint 2013
Mieux comprendre les nouveautés de SharePoint 2013Mieux comprendre les nouveautés de SharePoint 2013
Mieux comprendre les nouveautés de SharePoint 2013
GSoft
 
Comprendre la recherche dans SharePoint
Comprendre la recherche dans SharePointComprendre la recherche dans SharePoint
Comprendre la recherche dans SharePoint
GSoft
 

More from GSoft (10)

Innover avec SharePoint 2013
Innover avec SharePoint 2013Innover avec SharePoint 2013
Innover avec SharePoint 2013
 
Devenez un Expert SharePoint - Évitez les erreurs fréquentes
Devenez un Expert SharePoint - Évitez les erreurs fréquentesDevenez un Expert SharePoint - Évitez les erreurs fréquentes
Devenez un Expert SharePoint - Évitez les erreurs fréquentes
 
How to Write Amazing Functional Analysis Documents for your SharePoint Projects
How to Write Amazing Functional Analysis Documents for your SharePoint Projects How to Write Amazing Functional Analysis Documents for your SharePoint Projects
How to Write Amazing Functional Analysis Documents for your SharePoint Projects
 
Employee Directory on SharePoint 2013
Employee Directory on SharePoint 2013Employee Directory on SharePoint 2013
Employee Directory on SharePoint 2013
 
Automatiser le déploiement d'environnements SharePoint 2010/2013 grâce à Powe...
Automatiser le déploiement d'environnements SharePoint 2010/2013 grâce à Powe...Automatiser le déploiement d'environnements SharePoint 2010/2013 grâce à Powe...
Automatiser le déploiement d'environnements SharePoint 2010/2013 grâce à Powe...
 
Bâtir une analyse fonctionnelle efficace avec SharePoint.
Bâtir une analyse fonctionnelle efficace avec SharePoint.Bâtir une analyse fonctionnelle efficace avec SharePoint.
Bâtir une analyse fonctionnelle efficace avec SharePoint.
 
Utilisation des fonctionnalités de collaboration dans SharePoint 2010 et 2013
Utilisation des fonctionnalités de collaboration dans SharePoint 2010 et 2013Utilisation des fonctionnalités de collaboration dans SharePoint 2010 et 2013
Utilisation des fonctionnalités de collaboration dans SharePoint 2010 et 2013
 
Concevoir des applications pilotées par la recherche avec SharePoint 2010 et ...
Concevoir des applications pilotées par la recherche avec SharePoint 2010 et ...Concevoir des applications pilotées par la recherche avec SharePoint 2010 et ...
Concevoir des applications pilotées par la recherche avec SharePoint 2010 et ...
 
Mieux comprendre les nouveautés de SharePoint 2013
Mieux comprendre les nouveautés de SharePoint 2013Mieux comprendre les nouveautés de SharePoint 2013
Mieux comprendre les nouveautés de SharePoint 2013
 
Comprendre la recherche dans SharePoint
Comprendre la recherche dans SharePointComprendre la recherche dans SharePoint
Comprendre la recherche dans SharePoint
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
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...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
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...
 

Image Slider with SharePoint 2013 Search Results Web Part

  • 1. November 23rd, 2013 Image Slider with SharePoint 2013 Search Results Web Part
  • 2. Thank you to all of our Sponsors!!
  • 3. WHO ARE WE? Yohan Belval SharePoint specialist at GSoft (Montreal) http://www.gsoft.com/en/blog Web site (http://gsoft.com) yohan.belval@gsoft-group.com @yohanbelval SharePoint Dynamite Team Framework on GitHub SPS OTTAWA | 3
  • 4. WHO ARE WE? Edouard Shaar SharePoint specialist at GSoft (Montreal) http://www.gsoft.com/en/blog Web site (http://gsoft.com) edouard.shaar@gsoft-group.com SharePoint Dynamite Team Framework on GitHub SPS OTTAWA | 4
  • 5. SESSION ABSTRACT Don’t have access to the enterprise version of SharePoint 2013? Stuck on Office 365*? Unable to use the Content Search Web Part? No Problem! Let’s build an image slider with the Search Results Web Part using the out of box functionality. Based on blog posts by Yohan Belval SharePoint 2013 SharePoint 2010 *Note: Content Search Web Part is now available in Office 365 E3 and E4 enterprise plans. SPS OTTAWA | 5
  • 6. SESSION OUTLINE Introduction Search Results Web Part vs. Content Search Web Part Configuring your image source and returning results Using display templates What’s a display template Different types Example Putting together the slider Using a slider plugin Demo: Building the display templates Demo: Configuring the Search Results Web Part Conclusion SPS OTTAWA | 6
  • 8. PROBLEMS… A slider component is a common requirement for web sites Enterprise only solution offered by OOTB SharePoint Not available in all of the Office 365 plans Not willing to spend much effort into a custom developed Web Part SPS OTTAWA | 8
  • 9. WHAT ABOUT SHAREPOINT 2010? Content Query Web Part XSLT Search core results Web Part More XSLT Code SPS OTTAWA | 9
  • 10. NO MORE XSLT PLEASE… - <xsl:if test="stringlength($SafeImageUrl) = 0 and string-length($SafeImageHtml) != 0"> - <div class="image-arearight"> <xsl:value-of disableoutput-escaping="yes" select="$SafeImageHtml" /> </div> </xsl:if> - <xsl:if test="stringlength($SafeImageUrl) != 0"> - <div class="image-area-right"> - <a href="{$SafeLinkUrl}" target="{$LinkTarget}"> SPS OTTAWA | 10
  • 11. THANK YOU SHAREPOINT 2013! Display templates (knowledge of HTML rather that XSLT, etc.) Use the search engine No need to open up Visual Studios Solution available for use in all versions of SharePoint 2013 SPS OTTAWA | 11
  • 12. SEARCH RESULTS WEB PART VS. CONTENT SEARCH WEB PART SPS OTTAWA | 12
  • 13. CONTENT SEARCH WEB PART: Built-in display templates Different slideshow styles No need to configure a display template SPS OTTAWA | 13
  • 14. CONTENT SEARCH WEB PART: Built-in slider SPS OTTAWA | 14
  • 15. CONTENT SEARCH WEB PART: Property mappings Remember the CQWP slots in SharePoint 2010? Replaces the field names with variables – allows you to easily redefine what data to show You can add multiple properties SPS OTTAWA | 15
  • 16. CONTENT SEARCH WEB PART: Honorable mention… “number of items” Specify the number of items to show in the results Odd behavior SPS OTTAWA | 16
  • 17. SO, IS THE CONTENT SEARCH WEB PART WORTH IT? If you have access to it and it meets your requirements, why not If not, the Search Results Web Part is a worthy alternative Most of the functionalities in the CSWP are found in the SRWP If you think the built-in slideshow is ugly, you still have to create your own display template SPS OTTAWA | 17
  • 18. CONFIGURING YOUR IMAGE SOURCE SPS OTTAWA | 18
  • 19. USE A PICTURE / ASSET LIBRARY Preconfigured content types Thumbnail view SPS OTTAWA | 19
  • 21. DEMO: CONFIGURE YOUR SEARCH RESULTS WEB PART SPS OTTAWA | 21
  • 23. WHAT’S A DISPLAY TEMPLATE? No more XSLT; replaced with HTML and JavaScript Uses managed properties to show information Stored in “~sitecollection/_catalogs/masterpage/Display Templates” SPS OTTAWA | 23
  • 24. TYPES OF DISPLAY TEMPLATES: Control Template Control Similar to ContentQueryMain.xsl for the Content Query Web Part Acts as a container for the items Calls Render Items SPS OTTAWA | 24
  • 26. TYPES OF DISPLAY TEMPLATES: Item Template Item Similar to the itemstyle.xsl Renders a single item Contains the Managed Metadata property bindings SPS OTTAWA | 26
  • 28. TYPES OF DISPLAY TEMPLATES: Group and Filter Templates Group Used for result blocks like Promoted results (Best Bets) Difficult to configure. On one available OOB Filter Used in the refinements web part Example: Range Slider SPS OTTAWA | 28
  • 30. EXAMPLE OF AN ITEM TEMPLATE SPS OTTAWA | 30
  • 31. PUTTING TOGETHER THE SLIDER SPS OTTAWA | 31
  • 32. USING A SLIDER PLUGIN Leverage existing plugin instead of coding your own Freedom to select the plugin that best suites your needs Integrate the plugin structure into your Display Templates HTML, JavaScript, and JavaScript framework (JQuery) We chose SlidesJS (http://slidesjs.com/) Previous experience Knowledge of JQuery Reliable – Author keeps it up to date SPS OTTAWA | 32
  • 33. DEMO: BUILDING THE DISPLAY TEMPLATES SPS OTTAWA | 33
  • 34. DEMO: CONFIGURING THE SEARCH RESULTS WEB PART SPS OTTAWA | 34
  • 36. WHAT TO REMEMBER Use the Search Results Web Part when: You don’t have access to SharePoint 2013 Enterprise The OOTB slider packaged with the Content Search Web Part just doesn’t cut it No more XSLT Some HTML and JavaScript knowledge needed SPS OTTAWA | 36
  • 37. Remember to fill out your evaluation forms to win some great prizes! & Join us for SharePint today! Nov 23rd, 2013 @6:00 pm The Observatory Pub, Algonquin Student’s Association Address: A-170 on Algonquin Campus Parking: No need to move your car!* Site: http://www.algonquinsa.com/ob.aspx Date & Time: Location:

Editor's Notes

  1. Open the following sites:https://gsoft.sharepoint.com/sites/spsotthttp://slidesjs.comNetwork locations are configuredDemo steps document printed out
  2. At the end of the day, please ensure your evaluation is signed and handed in for door prizes. The draw takes place in Room 102A.
  3. After the abstract, show a working version of the slider in a SharePoint site. Maybe a side-by-sidewith the Content Search Web Part.
  4. If you put 10 items to show and only have 4 in the query results, the slider paging blows up
  5. Compare the OOTB plugin with the SharePoint display templates (i.e. what parts go where and why)