Your SlideShare is downloading. ×

Search Customizations in SharePoint 2013

515
views

Published on

Learn how to customize search in SharePoint 2013

Learn how to customize search in SharePoint 2013

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
515
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • Display Templates Overview: http://msdn.microsoft.com/en-us/library/jj945138.aspx
  • Transcript

    • 1. Search Customizations
    • 2. Customizations • Display Templates • Query Rules, Result Sources, Result Types • Segmentation • Search Result Web Part • Customized Search Result Web Part 10/11/2013 2
    • 3. Display Templates • Control – Search Results – Refiners – Column UI • Pattern: – Control List • Group – Item • Render after all items are rendered using – http://blogs.perficient.com/microsoft/2012/09/quick-tip-display-templates-and- jquery-plugins-in-sharepoint-2013/ • AddPostRenderCallback(ctx, function() { } • Render individual values – http://blog.jussipalo.com/2013/03/sharepoint-2013-overriding-value.html 10/11/2013 3
    • 4. Segmentation • Define user segment terms • Define query rules – Add segments which apply to that query rule • Create a custom web part (inherits from CBSWP) • Override OnLoad function – Get the user specific content – Get the corresponding term for the user’s content – Set the term ID in the data provider’s property bag with the key “UserSegmentTerms” 10/11/2013 4
    • 5. Search Web Part Customization • Modify query in the web part • Web part fires Query • Results are returned • Client side renders results • How do you boost on user’s profile or other property value? 10/11/2013 5
    • 6. Questions ? http://Perficient.com/sharepointxbox 10/11/2013 6