Branding SharePoint Search Results

Post on 30-Dec-2015

22 views 0 download

Tags:

description

Branding SharePoint Search Results. Cory Peters – Solutions Architect Eastridge Technology www.corypeters.net. Why do we need search?. Cost of gathering the information can outweigh it’s value Employees need access to internal information in order to make good, timely decisions - PowerPoint PPT Presentation

transcript

Branding SharePoint Search Results

Cory Peters – Solutions ArchitectEastridge Technology

www.corypeters.net

Why do we need search?Cost of gathering the information can

outweigh it’s valueEmployees need access to internal

information in order to make good, timely decisions

Fill in the knowledge gaps

How do we search?

What do we expect?

Requires confidence in the search engineSharePoint 2007

100% better on all queries500% better on common queries

New ways to visualize search results

Compared to SharePoint 2003

Visual is better

With SharePoint we have controlDocument Libraries with known metadata

schemesPicture LibrariesWikisBlogsCalendar EventsTasks, etc.

What does SharePoint give us?

ContentClassType ContentClass

Site STS_Web

List STS_List

List Item STS_ListItem

Events STS_List_Events

Tasks STS_List_Tasks

Announcements STS_List_Announcements

Discussions STS_List_DiscussionBoard

Contacts STS_List_Contacts

Links STS_List_Links

Document Library STS_List_DocumentLibrary

Document Library Items STS_ListItem_DocumentLibrary

Picture Library STS_List_PictureLibrary

Picture Library Items STS_ListItem_PictureLibrary

Managed PropertiesIncrementa

l Crawl

Site / List Column

Crawled Property

Create Managed Property

Full CrawlManaged Property

Managed Property

No Data

With

Data

Search Core Results Web PartSelected ColumnsRaw OutputData View XSL

Selected Columns

Raw Output

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/><xsl:template match="/">

<xmp><xsl:copy-of select="*"/></xmp></xsl:template>

</xsl:stylesheet>

Data View XSL

Demo

Best PracticesUse “Include values from a single crawled

property based on the order specified” when creating your Managed Properties

Break your main logic up into an xsl:choose statement and use an xsl:when test for each ContentClass

Store any supporting files in either the 12 hive or the Style Library to avoid permission issues

Use the ows_ version of the crawled propertyKeep any CSS / Javascript in global files using

master pages

Questions