Customization of SharePoint REM Search

Problem

We are about to customize the search result in the REM 4.

We want to modify the search page to look like the enclosed "Search Result Layout.png". Unfortunately, i could not find any information about these webparts in "REM SDK 4.0.chm".

Please, give me a short technical guide how to customize the search result web part.

Solution

Here is example of Custom XLS  developing:

 
Place Custom.xsl to the C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\XSL\
 
and run following script
 
$site = Get-spsite -identity "http://urltorem"
$list = $site.Rootweb.Lists["Course Offerings"]
$view = $list.Views["Course Catalog"]
$view.XslLink = "Custom.xsl"
$view.Update()
 
 
To revert back to the normal state change following line
$view.XslLink = "Custom.xsl"
 
to
$view.XslLink = "main.xsl"

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Please sign in to leave a comment.