spca2013 - content search web part

of 35/35
Benjamin Niaulin SharePoint Geek Content Search Web Part Get it all in one place and style it!

Post on 08-May-2015




1 download

Embed Size (px)


SharePoint 2013 Content Search Web Part


  • 1.Content Search Web PartGet it all in one place and style it! Benjamin Niaulin SharePoint Geek

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! @bniaulinShare-gate.com 3. Benjamin Niaulin @bniaulint w it t er.com / b niaulinca.linked in.com / in/ b niaulinb enjam [email protected] e-g at e.comb niaulin.w ord p ress.com en.share-g at e.com / b logShare-gate.com 4. 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 [email protected] 5. INTRODUCTION 6. 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 [email protected] 7. Previous SolutionsContent Query Web [email protected] 8. Wonderful XSLT

9. @bniaulinShare-gate.com 10. BASICS OF SEARCH 2013 11. Whats 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 [email protected] 12. CONTENT SEARCH 13. Introduction to the Web Part Site Collection ASite Collection [email protected] CrawlSearchContent Search Web PartShare-gate.com 14. What is it made of? The Content Search Web Part is essentially 2 things1. Query Builder2. Display [email protected] 15. The Query [email protected] 16. QUERY BUILDER DEMO 17. DISPLAY TEMPLATES 18. Overviewhttp://sharepoint.microsoft.com/blog/Pages/[email protected] 19. 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
@bniaulinShare-gate.com 20. Categories of Display Templates Control Similar to ContentQueryMain.xsl Filter, Group and Hover Panel Similar to Header.xsl +more Item Similar to [email protected] 21. Control The container for the Groups, Filters and Items to come Best way to reference custom files (JavaScript, CSS, etc)@bniaulinShare-gate.com 22. Item Controls what happens to each item rendered through the query Use Managed Properties to show the content you want where you want using [email protected] 23. Editing a Display Template Always comes in 2; a HTML and JS file NEVER edit the JS file it is automatically [email protected] 24. I SAID DO NOT TOUCHDo not t ouch t he JS f il e @bniaulinShare-gate.com 25. Editing a Display Template (2) Very easy to understand and manipulate compared to XSLTAlways best to copy an existing and work from there Remember to only copy the HTML file, the JS is generated [email protected] 26. PREBUILT 27. Prebuilt Content Searches Microsoft SharePoint offers prebuilt Content Search Web Parts for specific [email protected] 28. LICENSING 29. Not available everywhere Only available on SharePoint 2013 [email protected] 30. OTHER SOLUTIONS? 31. Search Results Web [email protected] 32. WHAT THIS MEANS 33. 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! [email protected] 34. DEMO 35. Benjamin Niaulin @bniaulint w it t er.com / b niaulinca.linked in.com / in/ b niaulinb enjam [email protected] e-g at e.comb niaulin.w ord p ress.com en.share-g at e.com / b logShare-gate.com