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


What time will the US election results be announced on TV? (Answers: 10) (Comments: 2)
I live in France and am planning to watch the results of the US election come out live, (I have CNN and CNBC on my TV and want to follow it state by state.) What time will the results start coming out for the east coast states? I read something about a restriction on calling the results until after polling has closed on the west coast. Does this apply to the networks calling states or just the whole country?

Get the answers


How do I get my search results to include more university libraries? (Answers: 3) (Comments: 0)
Maybe 10 or 12 years ago when I first started doing a lot of searches, before Google or Ask or MS's thing, a lot of search results came up from .edu sources. These were often excellent answers and included graduate theses. Nowadays the results hardly ever include any such results. Does anybody know how I can modify my searches to include those university libraries?

Get the answers

Next page: Road Race


Bookmark/Share This Page:

Comments

Name:

Email:

Website URL:

Title / Subject:

Hide my email

Comments:

 


Results News


Brazilian championship results and standings

Brazilian championship results and standings on Saturday Fluminense 3 Atletico Paranaense 1 Goianense 1 Guarani 1 Sao Paulo 2 Ceara 1

Read more...


Croatian championship results and standings

Croatian championship results and standings on Saturday Dinamo Zagreb 1 Rijeka 2 Istra 1961 0 NK Zagreb 2 Radnicki Split 4 Varteks Varazdin 0 Sibenik 0 Cibalia 0 Zadar 2 Karlovac 0

Read more...


Romanian championship results

Romanian championship results on Saturday Gloria Bistrita 1 FC Astra 1 Steaua Bucharest 2 Universitatea Craiova 1 Unirea Urziceni 0 Rapid Bucharest 0

Read more...


Belgian championship results

Belgian championship results on Saturday Anderlecht 4 Eupen 1 Kortrijk 1 Club Bruges 0 Mechelen 2 Lokeren 0 STVV 1 Lierse 0 Westerlo 0 Ghent 1

Read more...


Slovak championship results and standings

Slovak championship results and standings on Saturday Dukla Banska Bystrica 1 Zilina 2 Nitra 1 MFK Kosice 1 FK Senica 1 Dubnica 0 Ruzomberok 2 DAC Dunajska Streda 0 Spartak Trnava 1 Tatran Presov 0

Read more...


Slovenian championship results and standings

Slovenian championship results and standings on Saturday Koper 1 Triglav Gorenjska 1 MIK Celje 5 Rudar Velenje 1 Primorje Ajdovscina 0 Domzale 0

Read more...


Hungarian championship results

Hungarian championship results on Saturday Debrecen 2 Papa 0 MTK Hungaria 4 Kecskemeti TE 2 Vasas Budapest 3 Honved 2 Zalaegerszeg 3 Kaposvar 5

Read more...



P90X Results & Recovery Formula 30-Day Supply (26 Servings)
Price:



First Response Early Result Pregnancy Test - 3 Tests
Price:


Turbo Jam Maximum Results Kit
Price: $70.25 (New)
$66.77 (Used)


Wilton Perfect Results 4 Inch Round Tart/Quiche Pan, Set of 6
Price: $15.99 (New)
$14.10 (Used)


Nature's Miracle Quick Results Training Pads 80 Count Bag
Price: $25.96 (New)