Configure Search Previews

Vizit offers the ability to view previews of documents in SharePoint search. Follow the instructions below to configure search previews in your SharePoint environment for search.

SharePoint 2013

In Vizit 5.3, we're introducing the Vizit Search Display Template for SharePoint 2013 search. By following these steps, you can deploy and map the Display Template to any supported Result Type in your SharePoint Search results for 2013.

  1. Activate the Vizit Search Display Template Feature at the Site Collection level of your Search site.
  2. Navigate to the Site Settings page and choose Result Types from the Search section.
  3. For each Result Type that you would like Vizit to display previews, copy and map it to the Vizit Item Display Template:
    1. Click on the Result Type name and choose Copy from the menu provided.
    2. From the "What should these results look like?" menu, choose the option labeled "Vizit Item".
    3. Save your changes.

SharePoint 2013 has an extensive list of format handlers. Having a format handler for a given file type is a prerequisite to configuring Vizit's Search Display Template for that particular Result Type. In many cases, if SharePoint doesn't have a built-in format handler, a third party iFilter can be purchased. If you are unable to find a third party iFilter, you can implement your own by following the instructions outlined in this KB article :

SharePoint 2010

Follow these steps to update the Core Search Results XSLT in SharePoint 2010:

  1. Within Central Administration, navigate to the "Search Service Application" management page > "Federated Locations" (under "Queries and Results") > "Local Search Results" > "Display Information" > "Core Search Results Display Metadata" > XSL. (Note: You may have to uncheck the "Use Default Formatting" check-box). Add the following XSL immediately before the DIV that has a CSS Class of "srch-Icon" in the Core Search Results Display Metadata XSL:

    <div style="clear:both;"></div> 
    <div style="float:left;"> 
    <script type="text/javascript"> 
    (function() { 
    if(window.Vizit) {
    Vizit.Write({ 'url':escape("<xsl:value-of select='url' />") },{
    spacer: '<xsl:value-of select="isdocument" />'.toLowerCase() == 'false' ||
    '<xsl:value-of select="fileextension" />'.toLowerCase().match(/htm|asp/)
  2. Select 'OK' to save your changes. 

Note: It is also possible to make the same change on a single Search Center results page by updating the XSLT in the Core Results Web Part.

Have more questions? Submit a request


Article is closed for comments.
Powered by Zendesk