Your SlideShare is downloading. ×
0
Content Search Web Part – Get it all in one place and style it!                                        Benjamin NiaulinPre...
Description Weve always been limited to show items and documents from our current site or Site Collection. In SharePoint 2...
Who is this guy talking? Benjamin Niaulin   Speaker, Trainer, Consultant, SCRUM Master   Blog  bniaulin.wordpress.com   We...
                        http://spsaturday.    azurewebsites.net                                   4   | SharePoint Sat...
    http://spsaturday. azurewebsites.net                                 5   | SharePoint Saturday St. Louis 2013
Thanks to Our Sponsors!                     6   | SharePoint Saturday St. Louis 2013
Agenda   Introduction – Problems and Previous Solutions   Basics of Search 2013   Content Search Web Part – Intro       In...
INTRODUCTION
Problems we face   Showing data from multiple lists/libraries at the same time   Change the date format in a list/library ...
Previous Solutions   Content Query Web Part   Search                   Coding@bniaulin                            Share-ga...
Wonderful XSLT  <xsl:template name="dvt_1.noKeyword">    <span class="srch-description2">       <xsl:choose>         <xsl:...
BASICS OF SEARCH 2013
What’s new?   FAST + SEARCH   Continuous Crawl   Content Search   Display Templates everywhere      HTML – no more XSLT   ...
CONTENT SEARCH
Introduction to the Web Part Site Collection A                                        Content Search                      ...
What is it made of?   The Content Search Web Part is essentially 2 things            1. Query Builder            2. Displa...
The Query Builder@bniaulin           Share-gate.com
QUERY BUILDER DEMO
DISPLAY TEMPLATES
Overview            http://sharepoint.microsoft.com/blog/Pages/BlogPost.aspx?pID=1041@bniaulin                            ...
What it does   Stored in “~sitecollection/_catalogs/masterpage/Display   Templates/”   Provides reusable displays for your...
Categories of Display Templates   Control       Similar to ContentQueryMain.xsl   Filter, Group and Hover Panel       Simi...
Control   The container for the   “Groups, Filters and   Items” to come   Best way to reference   custom files (JavaScript...
Item   Controls what happens to   each item rendered   through the query   Use Managed Properties   to show the content yo...
Editing a Display Template   Always comes in 2; a HTML and JS file      NEVER edit the JS file – it is automatically gener...
Editing a Display Template (2)    Very easy to understand and manipulate compared to    XSLT    Always best to copy an exi...
PREBUILT
Prebuilt Content Searches   Microsoft SharePoint offers prebuilt Content Search Web   Parts for specific scenarios@bniauli...
LICENSING
Not available everywhere   Only available on SharePoint 2013 Enterprise@bniaulin                                         S...
OTHER SOLUTIONS?
Search Results Web PartHow-To@bniaulin                 Share-gate.com
WHAT THIS MEANS
Cool!   Create dynamic   Home Pages or   Collaboration Sites   Render an entire   Web Page through   Content Search      W...
DEMO
THANK YOU!KEEP IN TOUCH ON TWITTER @BNIAULIN  Blog bniaulin.wordpress.com  Website share-gate.com  Email benjamin.niaulin@...
Upcoming SlideShare
Loading in...5
×

SharePoint 2013 Content search web part - Get it all in one place and style it!

19,646

Published on

This session was presented first in St. Louis. It's hard to get it by just reading the slides as much of it is through the presentation in person. Hope it helps

Published in: Technology
0 Comments
5 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
19,646
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
182
Comments
0
Likes
5
Embeds 0
No embeds

No notes for slide

Transcript of "SharePoint 2013 Content search web part - Get it all in one place and style it!"

  1. 1. Content Search Web Part – Get it all in one place and style it! Benjamin NiaulinPresented at: SharePoint Saturday St- SharePoint GeekLouis
  2. 2. Description Weve always been limited to show items and documents from our current site or Site Collection. In SharePoint 2013, a new Web Part will make it easier to grab everything and style it the way you want. In this session, you will learn what this Web Part can do, the various scenarios where it will help as well as how to change the display of the results. Dont stay constrained to your SharePoint site - Search it!@bniaulin Share-gate.com
  3. 3. Who is this guy talking? Benjamin Niaulin Speaker, Trainer, Consultant, SCRUM Master Blog bniaulin.wordpress.com Website share-gate.com Email benjamin.niaulin@share-gate.com TWITTER!: @bniaulin @bniaulin Share-gate.com
  4. 4.  http://spsaturday. azurewebsites.net 4 | SharePoint Saturday St. Louis 2013
  5. 5.  http://spsaturday. azurewebsites.net 5 | SharePoint Saturday St. Louis 2013
  6. 6. Thanks to Our Sponsors! 6 | SharePoint Saturday St. Louis 2013
  7. 7. Agenda Introduction – Problems and Previous Solutions Basics of Search 2013 Content Search Web Part – Intro Introduction Demo Overview of the Query Builder Display Templates Existing Content Search in SP2013 Licensing Other solutions? Cool Ideas – What this means for 2013@bniaulin Share-gate.com
  8. 8. INTRODUCTION
  9. 9. Problems we face Showing data from multiple lists/libraries at the same time Change the date format in a list/library Contextual Results Changing the look of what we are seeing Accessing information from other Site Collections@bniaulin Share-gate.com
  10. 10. Previous Solutions Content Query Web Part Search Coding@bniaulin Share-gate.com
  11. 11. Wonderful XSLT <xsl:template name="dvt_1.noKeyword"> <span class="srch-description2"> <xsl:choose> <xsl:when test="$IsFixedQuery"> <xsl:value-of select="$NoFixedQuery" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="$NoKeyword" /> </xsl:otherwise> </xsl:choose> </span> </xsl:template> <!-- When empty result set is returned from search --> <xsl:template name="dvt_1.empty"> <div class="srch-results"> <xsl:if test="string-length($SrchRSSLink) &gt; 0 and $ShowActionLinks"> <a type="application/rss+xml" href ="{$SrchRSSLink}" title="{$SrchRSSText}" id="SRCHRS @bniaulin Share-gate.commargin">
  12. 12. BASICS OF SEARCH 2013
  13. 13. What’s new? FAST + SEARCH Continuous Crawl Content Search Display Templates everywhere HTML – no more XSLT Search Results Result Sources, Result Types…. Just an overall better Search = Search Driven Sites@bniaulin Share-gate.com
  14. 14. CONTENT SEARCH
  15. 15. Introduction to the Web Part Site Collection A Content Search Search Web Part Site Collection B Search Crawl @bniaulin Share-gate.com
  16. 16. What is it made of? The Content Search Web Part is essentially 2 things 1. Query Builder 2. Display Templates@bniaulin Share-gate.com
  17. 17. The Query Builder@bniaulin Share-gate.com
  18. 18. QUERY BUILDER DEMO
  19. 19. DISPLAY TEMPLATES
  20. 20. Overview http://sharepoint.microsoft.com/blog/Pages/BlogPost.aspx?pID=1041@bniaulin Share-gate.com
  21. 21. What it does Stored in “~sitecollection/_catalogs/masterpage/Display Templates/” Provides reusable displays for your Content NO MORE XSLT! HTML and Javascript Uses “Managed Properties” to show the content in right <div>@bniaulin Share-gate.com
  22. 22. Categories of Display Templates Control Similar to ContentQueryMain.xsl Filter, Group and Hover Panel Similar to Header.xsl +more Item Similar to itemstyle.xsl@bniaulin Share-gate.com
  23. 23. Control The container for the “Groups, Filters and Items” to come Best way to reference custom files (JavaScript, CSS, etc…)@bniaulin Share-gate.com
  24. 24. Item Controls what happens to each item rendered through the query Use Managed Properties to show the content you want where you want using HTML@bniaulin Share-gate.com
  25. 25. Editing a Display Template Always comes in 2; a HTML and JS file NEVER edit the JS file – it is automatically generated@bniaulin Share-gate.com
  26. 26. Editing a Display Template (2) Very easy to understand and manipulate compared to XSLT Always best to copy an existing and work from there Remember to only copy the HTML file, the JS is generated Demo! @bniaulin Share-gate.com
  27. 27. PREBUILT
  28. 28. Prebuilt Content Searches Microsoft SharePoint offers prebuilt Content Search Web Parts for specific scenarios@bniaulin Share-gate.com
  29. 29. LICENSING
  30. 30. Not available everywhere Only available on SharePoint 2013 Enterprise@bniaulin Share-gate.com
  31. 31. OTHER SOLUTIONS?
  32. 32. Search Results Web PartHow-To@bniaulin Share-gate.com
  33. 33. WHAT THIS MEANS
  34. 34. Cool! Create dynamic Home Pages or Collaboration Sites Render an entire Web Page through Content Search Web Page is a Search Result contextual to the user! Cool!@bniaulin Share-gate.com
  35. 35. DEMO
  36. 36. THANK YOU!KEEP IN TOUCH ON TWITTER @BNIAULIN Blog bniaulin.wordpress.com Website share-gate.com Email benjamin.niaulin@share-gate.com Benjamin Niaulin@bniaulin Share-gate.com
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×