SharePoint Search Results Branding

2,149 views

Published on

Overview of what it takes to brand SharePoint 2007 search results. Includes a discussion about crawled properties, managed properties and XSLT.

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
2,149
On SlideShare
0
From Embeds
0
Number of Embeds
26
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

SharePoint Search Results Branding

  1. 1. Branding SharePoint Search Results<br />Cory Peters – Solutions Architect<br />Eastridge Technology<br />www.corypeters.net<br />
  2. 2. Why do we need search?<br />Cost of gathering the information can outweigh it’s value<br />Employees need access to internal information in order to make good, timely decisions<br />Fill in the knowledge gaps<br />
  3. 3. How do we search?<br />
  4. 4. What do we expect?<br />Requires confidence in the search engine<br />SharePoint 2007 <br />100% better on all queries<br />500% better on common queries<br />New ways to visualize search results<br />Compared to SharePoint 2003<br />
  5. 5. Visual is better<br />
  6. 6. With SharePoint we have control<br />Document Libraries with known metadata schemes<br />Picture Libraries<br />Wikis<br />Blogs<br />Calendar Events<br />Tasks, etc.<br />
  7. 7. What does SharePoint give us?<br />
  8. 8. ContentClass<br />
  9. 9. Managed Properties<br />Site / List Column<br />Incremental Crawl<br />Crawled Property<br />Create Managed Property<br />Full Crawl<br />Managed Property<br />No Data<br />Managed Property<br />With Data<br />
  10. 10. Search Core Results Web Part<br />Selected Columns<br />Raw Output<br />Data View XSL<br />
  11. 11. Selected Columns<br />
  12. 12. Raw Output<br /><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><br /> <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/><br /> <xsl:template match="/"><br /> <xmp><xsl:copy-of select="*"/></xmp><br /> </xsl:template><br /></xsl:stylesheet><br />
  13. 13. Data View XSL<br />
  14. 14. Demo<br />
  15. 15. Best Practices<br />Use “Include values from a single crawled property based on the order specified” when creating your Managed Properties<br />Break your main logic up into an xsl:choose statement and use an xsl:when test for each ContentClass<br />Store any supporting files in either the 12 hive or the Style Library to avoid permission issues<br />Use the ows_ version of the crawled property<br />Keep any CSS / Javascript in global files using master pages<br />
  16. 16. Questions<br />

×