Results

Results


 

Search Results By Sveta Yerpilev - Sharepoint Consultant, Kwizcom Professional Services

A client of mine once requested that I change the look and feel of their search results page. The client was a large company that had decided to change the design of their SharePoint portal. The portal had a search center which was where I needed to make the change.

This is how I did it:

First of all I needed a Core Results Web Part. You can add a web part to your results page from the Web Parts Gallery or use the SharePoint web part that is automatically added to each search results page.

Next I had to setup the fields (columns) I wanted to see in the search result. To do so - open the properties of the Core results web part and under the Results Query Options change the Selected Columns xml text. To add a new column you need add this text to the xml before tag:

Save the changes and now you can start to redesign the look and feel of the search results. The fastest way to do this is to use the XML of the search results. To access the XML you need to add this code instead of the XSLT code of the web part in the XSL Editor:

xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

Save your changes and do a test search. You will get an XML code of the search results. Copy this code and paste it to notepad. Save the file on your desktop and open SharePoint Designer. Connect to one of your SharePoint sites and create a new blank ASPX page. After this go in to the design mode of your page and add a new DataView Web Part. In the Data Source details choose the XML files and add a new XML file. In the new opened window browse to the file you saved before and import it to SharePoint Designer.

Once you perform this operation you'll see your file in the XML files section. Click on this file and press "Show Data".

Now you will be able to design your Data View Web Part however you want, using columns from the Search Results XML file. You will also be able to perform sorting/filtering/grouping on your search results but keep in mind that each function will create results only on the page you are currently using. In other words, if you sort your search results by site title the grouping will group the content of your current search results page.

After you finish designing your page you the only thing left you need to do is copy the entire code from your page, between the tags and , and paste it to the XSL Editor of the Core Results Web Part. Save your changes and verify that everything works by doing a test search. If you like the look of your search results page you can delete the temp ASPX page from your SharePoint site and delete the search results XML file.

If you would like more information on customizing a search results page I suggest this insightful article by Tobias Zimmergren:

http://www.zimmergren.net/archive/2008/03/15/moss-2007-customize-the-search-result-using-xslt-part-3-customize-using-sharepoint-designer-2007.aspx

SharePoint gives you many options for customizing your search results.

You can define different search results pages for each search scope you run.

You can set a specific search results page on the server level and redirect all search results to that page.

You can even define a search results page for a Search Box Web Part - it will redirect all search results (not including the Contextual Search Scope Search results) to the page you defined.

If you create a new Search Center you may want to redirect all search queries to the Search Center search results page.

You can setup this function on the scopes level or in the Search Settings of the root site in your Site Collection.

I hope this article (and the first two parts of this series) on SharePoint search results has been helpful to you. Please continue to visit the KWizCom blog for more helpful information, SharePoint tips and "how to" guides. We are here to help!


The KWizCom team utilizes their experience and knowledge to give fresh insight on Microsoft's SharePoint and CRM Products and Technologies... Sveta Yerpilev is a SharePoint consultant and trainer for KWizCom Corporation. She is also a contributor on the KWizCom blog.

Article Source: ArticlesBase.com


What kind of results do you get with the stairmaster? (Answers: 1) (Comments: 0)
I need to lose some weight and started doing the stairmaster. Will I get good results and a nicer butt? Any one used it before?

Get the answers


How do I acheive salon quality results when coloring my hair? (Answers: 12) (Comments: 0)
I've been going to a salon for the past few years to have my hair colored. They are able to achieve a very natural pure-blonde result, but they charge $110 - and I go every three weeks. I've tried just about all of the at-home coloring products, but I can't duplicate the results. The color always comes out dirty or reddish. It has been suggested to me to do some sort of peroxide pre-rinse - but I don't know how to safely do this. Any suggestions?

Get the answers


How long does it take to see results when building muscle? (Answers: 6) (Comments: 0)
I have been going to the gym since late February this year, doing weight training, increasing weights, etc, but I still have not had any results. How long is it supposed to be before you see actual results?? I also take protein supplements, but have been doing so for 5-6 weeks, but still with no results. Anyone have any suggestions?? Any PROPER suggestions? I used to go 4 or 5 times a week, but now I go 3 times, and have soccer training on 2 nights, so I go to the gym Monday, Wednesday and Friday, and soccer training on Tuesday and Thursday. Also, I weigh 158 pounds, and I am 5'9 in height.

Get the answers

Next page: Road Race


Bookmark/Share This Page:

Comments

Name:

Email:

Website URL:

Title / Subject:

Hide my email

Comments:

 


Results News


The Three Best Steps to Online Dating Success

Copyright (c) 2010 Michael Jamison Recently I was sitting with a girl friend having a cup of coffee in an Auckland Cafe. I shared with her my commitment to helping people find a true love online Th...

Read more...


Specialist Legal Recruitment Website Launched in Asia Pacific Hong Kong

Hong Kong based online recruitment specialists CQrecruit have launched a new online recruitment portal focused on the legal profession across the Asia Pacific region. www.cqrecruit.com will carry posi...

Read more...


Prominent measures to lose weight quickly

Are you desperate about losing weight, and is there a need to do it immediately? There are many ways to shed weight, but to opt for the ideal weight loss regimen can proffer rewarding results. If ...

Read more...


Selecting a right banner printing service

Anybody having the capability of printing the images along with the texts with the help of a regular printer will be able to easily create the banners but they should have right materials and equipmen...

Read more...


The Benefits of Quality Monitoring

Call Centers have a penchant for monitoring their agents. They tend to invariably monitor and strictly analyze the performance and calling skills of their customer care executives. In this p...

Read more...


For real optimization of websites opt SEO Services India

SEO India is one of the most important services which many IT compan...

Read more...


Frbiz Reports Dali To Create

The 106th Canton Fair in Guangzhou debut, but adjacent to Guangzhou, Guangzhou-Foshan International Hardware & Electrical also lost no time in the city launched the "never ending" hardware su...

Read more...



Results Now: How We Can Achieve Unprecedented Improvements in Teaching And Learning
By: Michael J. Schmoker
Price: $9.95 (New)
$3.55 (Used)


Analytics at Work: Smarter Decisions, Better Results
By: Thomas H. Davenport, Jeanne G. Harris, Robert Morison
Price: $18.73 (New)
$18.49 (Used)


Results That Last: Hardwiring Behaviors That Will Take Your Company to the Top
By: Quint Studer
Price: $13.89 (New)
$9.99 (Used)


Small Changes, Big Results: A 12-Week Action Plan to a Better Life
By: Ellie Krieger, Kelly James-Enger
Price: $8.74 (New)
$5.00 (Used)


Results Without Authority: Controlling a Project When the Team Doesn't Report to You -- A Project Manager's Guide
By: Tom Kendrick PMP
Price: $11.52 (New)
$7.98 (Used)