Your SlideShare is downloading. ×
0
SharePoint 2013 Search and
Creating Dynamic Content
Management Solutions
Ryan McIntyre
MCITP, MCPD
National Architect
@rya...
© Copyright 2014, Neudesic. All rights reserved.
• SharePoint 2013 Search Overview
• Changes from 2010
• Search Solutions
...
© Copyright 2014, Neudesic. All rights reserved.
Scenarios
© Copyright 2014, Neudesic. All rights reserved.
Powerful Engine
2013 Search Intro
FAST
Index FS4SP
2010
Search
2013
Search
© Copyright 2014, Neudesic. All rights reserved.
2013 Search Architecture
HTTP
File shares
SharePoint
User profiles
Lotus ...
© Copyright 2014, Neudesic. All rights reserved.
Core Building Blocks
Content Source
Search Schema
Now available through s...
© Copyright 2014, Neudesic. All rights reserved.
Core Building Blocks
Query Transforms
Web Parts (3)
Query Rule (2)
Result...
© Copyright 2014, Neudesic. All rights reserved.
Core Building Blocks
Result Type
How to display types of
results
Display ...
© Copyright 2014, Neudesic. All rights reserved.
Search Experience
© Copyright 2014, Neudesic. All rights reserved.
Search in Action Demo
© Copyright 2014, Neudesic. All rights reserved.
Executing Queries
© Copyright 2014, Neudesic. All rights reserved.
Executing Queries: KQL
© Copyright 2014, Neudesic. All rights reserved.
 Keywords
 http://server/site/_api/search/query?querytext='{KQL Query}‘...
© Copyright 2014, Neudesic. All rights reserved.
Executing Queries: REST
<d:RelevantResults m:type="Microsoft.Office.Serve...
© Copyright 2014, Neudesic. All rights reserved.
Executing Queries: CSOM
ClientContext ctx = new ClientContext("http://sha...
© Copyright 2014, Neudesic. All rights reserved.
Query Debugging
© Copyright 2014, Neudesic. All rights reserved.
CSWP & Display Template Deployment
© Copyright 2014, Neudesic. All rights reserved.
• <cringe>Design in UI</cringe>
• Export
• Visual Studio solution
• Creat...
© Copyright 2014, Neudesic. All rights reserved.
• Create HTML file and verify results in UI
• Export JS
• Visual Studio s...
© Copyright 2014, Neudesic. All rights reserved.
Deployment Demo
© Copyright 2014, Neudesic. All rights reserved.
Scenarios
© Copyright 2014, Neudesic. All rights reserved.
Ryan McIntyre
ryan.mcintyre@neudesic.com
http://blog.randomdust.com
@ryan...
© Copyright 2014, Neudesic. All rights reserved.
• http://sp2013searchtool.codeplex.com/
Resources
© Copyright 2014, Neudesic. All rights reserved.
© Copyright 2014, Neudesic. All rights reserved.
© Copyright 2014, Neudesic. All rights reserved.
© Copyright 2014, Neudesic. All rights reserved.
© Copyright 2014, Neudesic. All rights reserved.
© Copyright 2014, Neudesic. All rights reserved.
© Copyright 2014, Neudesic. All rights reserved.
© Copyright 2014, Neudesic. All rights reserved.
© Copyright 2014, Neudesic. All rights reserved.
© Copyright 2014, Neudesic. All rights reserved.
© Copyright 2014, Neudesic. All rights reserved.
© Copyright 2014, Neudesic. All rights reserved.
Upcoming SlideShare
Loading in...5
×

SharePoint 2013 Search and Creating Dynamic Content Management Solutions

477

Published on

Presented at SharePoint TechFest Dallas 2014. All rights reserved.

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

  • Be the first to like this

No Downloads
Views
Total Views
477
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
16
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "SharePoint 2013 Search and Creating Dynamic Content Management Solutions"

  1. 1. SharePoint 2013 Search and Creating Dynamic Content Management Solutions Ryan McIntyre MCITP, MCPD National Architect @ryanmcintyre
  2. 2. © Copyright 2014, Neudesic. All rights reserved. • SharePoint 2013 Search Overview • Changes from 2010 • Search Solutions • OOTB Web Parts Review • API • Server side • Client side • Packaging & Deployment Leave Now…Or…
  3. 3. © Copyright 2014, Neudesic. All rights reserved. Scenarios
  4. 4. © Copyright 2014, Neudesic. All rights reserved. Powerful Engine 2013 Search Intro FAST Index FS4SP 2010 Search 2013 Search
  5. 5. © Copyright 2014, Neudesic. All rights reserved. 2013 Search Architecture HTTP File shares SharePoint User profiles Lotus Notes Documentum Exchange folders Custom - BCS SharePoint SP Apps Devices Non-SP UX Public API Unit of scale/role boundary
  6. 6. © Copyright 2014, Neudesic. All rights reserved. Core Building Blocks Content Source Search Schema Now available through site administration Query Rule Customization of returned results Captures Intent, composed of Query Condition Query Action Publishing Options
  7. 7. © Copyright 2014, Neudesic. All rights reserved. Core Building Blocks Query Transforms Web Parts (3) Query Rule (2) Result Source (1) Result Source Scope + Federated + CSWP
  8. 8. © Copyright 2014, Neudesic. All rights reserved. Core Building Blocks Result Type How to display types of results Display Templates CSWP Hover Panel Refiner Search Results
  9. 9. © Copyright 2014, Neudesic. All rights reserved. Search Experience
  10. 10. © Copyright 2014, Neudesic. All rights reserved. Search in Action Demo
  11. 11. © Copyright 2014, Neudesic. All rights reserved. Executing Queries
  12. 12. © Copyright 2014, Neudesic. All rights reserved. Executing Queries: KQL
  13. 13. © Copyright 2014, Neudesic. All rights reserved.  Keywords  http://server/site/_api/search/query?querytext='{KQL Query}‘  Selecting Properties  http://server/site/_api/search/query?querytext='test'&selectproperties='Title, Rank'  Sorting  http://server/site/_api/search/query?querytext='test'&sortlist='LastModifiedTi me:descending'  http://server/site/_api/search/query?querytext='test'&sortlist='LastModifiedTi me:descending,Rank:ascending Executing Queries: REST
  14. 14. © Copyright 2014, Neudesic. All rights reserved. Executing Queries: REST <d:RelevantResults m:type="Microsoft.Office.Server.Search.REST.RelevantResults"> <d:RowCount m:type="Edm.Int32">16</d:RowCount> <d:Rows m:type="SP.SimpleDataTable"> <d:Rows> <d:element m:type="SP.SimpleDataRow"> <d:Cells> <d:element m:type="SP.KeyValue"> <d:Key xml:space="preserve">Rank</d:Key> <d:Value xml:space="preserve">29.4688339233398</d:Value> <d:ValueType xml:space="preserve">Edm.Decimal</d:ValueType> </d:element>
  15. 15. © Copyright 2014, Neudesic. All rights reserved. Executing Queries: CSOM ClientContext ctx = new ClientContext("http://sharepointonline/site"); var query = new KeywordQuery(ctx, ctx.Site); query.QueryText = "Search terms"; query.ResultTypes = ResultType.RelevantResults; query.Id = Guid.NewGuid(); var queries = new KeywordQuery[1]; queries[0] = query; SearchExecutor searchExecutor = new SearchExecutor(ctx); var rcc = searchExecutor.ExecuteQueries(queries); ctx.ExecuteQuery();
  16. 16. © Copyright 2014, Neudesic. All rights reserved. Query Debugging
  17. 17. © Copyright 2014, Neudesic. All rights reserved. CSWP & Display Template Deployment
  18. 18. © Copyright 2014, Neudesic. All rights reserved. • <cringe>Design in UI</cringe> • Export • Visual Studio solution • Create “host” page • Add markup for CSWP from export • Properly escape ‘{‘, ‘}’, and quotes in DataProviderJSON property CSWP Development & Deployment
  19. 19. © Copyright 2014, Neudesic. All rights reserved. • Create HTML file and verify results in UI • Export JS • Visual Studio solution • Include JS • Deploy to “_catalogs/masterpage/Display Templates/Content Web Parts” • {Optionally, deploy HTML (not JS) and programmatically update file post-deployment to generate JS} Display Template Development & Deployment
  20. 20. © Copyright 2014, Neudesic. All rights reserved. Deployment Demo
  21. 21. © Copyright 2014, Neudesic. All rights reserved. Scenarios
  22. 22. © Copyright 2014, Neudesic. All rights reserved. Ryan McIntyre ryan.mcintyre@neudesic.com http://blog.randomdust.com @ryanmcintyre 303-520-6337
  23. 23. © Copyright 2014, Neudesic. All rights reserved. • http://sp2013searchtool.codeplex.com/ Resources
  24. 24. © Copyright 2014, Neudesic. All rights reserved.
  25. 25. © Copyright 2014, Neudesic. All rights reserved.
  26. 26. © Copyright 2014, Neudesic. All rights reserved.
  27. 27. © Copyright 2014, Neudesic. All rights reserved.
  28. 28. © Copyright 2014, Neudesic. All rights reserved.
  29. 29. © Copyright 2014, Neudesic. All rights reserved.
  30. 30. © Copyright 2014, Neudesic. All rights reserved.
  31. 31. © Copyright 2014, Neudesic. All rights reserved.
  32. 32. © Copyright 2014, Neudesic. All rights reserved.
  33. 33. © Copyright 2014, Neudesic. All rights reserved.
  34. 34. © Copyright 2014, Neudesic. All rights reserved.
  35. 35. © Copyright 2014, Neudesic. All rights reserved.
  1. A particular slide catching your eye?

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

×