Geeks With Blogs

News These postings are provided "AS IS" with no warranties, and confers no rights.
Locations of visitors to this page virtusa corp sharepoint shehan peruma
Shehan Peruma Search
Refinement Panel raw xml
If you want to see the RAW xml returned by the Refinement Panel web part then replace the existing XSL with the following (do remember to backup the original): <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.or... <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> Technorati ......

Posted On Thursday, October 14, 2010 4:24 AM

SharePoint not crawling links
We have a document library which makes use of the 'Link to a Document' content type which lets users add links to a document library. We noticed that users were using this feature to add links to documents hosted on sites outside of the SharePoint farm. This is all good as far as they are concerned because the content type does its job and end-user can access the external documents by clicking the link. However, we noticed that none of these links were showing up in the search results. When we looked ......

Posted On Monday, August 24, 2009 5:30 PM

A little 'gotcha' when restarting the search service
If you were to restart (i.e stop and then start) the search service, in a SharePoint farm, from the 'Services on server' page in Central Administration chances are that you might encounter both or either of the following errors when yo do a search on your web application: Your search cannot be completed because of a service error. Try your search again or contact your administrator for more information. The search request was unable to connect to the Search Service. This happens because after restarting ......

Posted On Thursday, August 20, 2009 12:15 PM

Exclude task items from appearing in search results
I had a request to exclude items contained in the approval tasks list from appearing in SharePoint's search results. At first glance it could be as simple as making changes to the lists properties (List Settings -> Advanced Settings) to explicitly exclude it from appearing in search results. This would work if you only had a few lists to update, but lets say, that like me, you had well over 100 lists to update....You could develop a utility that makes use of SharePoint's API to update the list, ......

Posted On Thursday, May 21, 2009 1:30 AM

Invalid host file on index server when using a dedicated crawler
Incase you didn't know- when you set your index server to use a dedicated server for crawling, SharePoint updates the host file on the index server with the IP address of the WFE. However, there are times where SharePoint adds an invalid host entry when there are 2 or more WFE's. Example - Say there have 2 WFE's - MOSSWFE01 & MOSSWFE02. Setting MOSSWFE02 as the dedicated crawler will cause SharePoint to update the host file in the index server. It adds an entry for MOSSWFE01 with the IP address ......

Posted On Thursday, March 19, 2009 7:07 AM

Search only items of a custom list
Had a requirement where search results should be limited to only items of a list. Naturally, I created a new Search Scope and set a rule of type Web Address to include the particular site holding the lists. did work, but not to my expectations. What was happening was that in addition to displaying the list items, the list views were also being displayed and so were other pages in the site....DOH! Doing a search on the net led me to this site. It was very informative, but it didn't provided ......

Posted On Wednesday, July 9, 2008 12:27 PM

Display Search Scopes in the Search DoropDown and Advanced Search page
Most of you all would probably be knowing this, but for the newbie out there who is just getting into MOSS's Enterprise Search features this would probably prove useful... Lets say that through the SSP Search Configurations page you've gone and created a couple of Scopes. But when you get back to your site collection you notice that none of the scopes appear in the search scope dropdown (normally located on the top right hand corner of the page), you only see the default scopes. What you need to ......

Posted On Thursday, February 28, 2008 10:15 AM

Change the "Welcome" link font color
As part of configuring enterprise search for a company's portal, one of the requirements was changing the look and feel of the SearchCenter. In short, they wanted a very Google like UI - I.e. nothing too flashy or heavy. So, I started off creating a minimal master page and adjusting the layouts - nothing major just positioning the controls etc.. Now, to change the appearance of the webparts required modifications to the default styles located in the core.css file and thanks to Heather Solomons CSS ......

Posted On Monday, February 25, 2008 11:18 AM

Highlight Search Results
OOTB the Search Core Results webpart simply emphasizes the search string you entered in the Search Box by wrapping it within the <b></b> tags. But let’s say you need to highlight the search terms in different colors; what do you do? Write a new results webpart? No! you only need to adjust the Search Core Results XLS. This is how it’s done: Open up the XLS editor and copy the contents to notepad or some other editor (if your fine with editing it in the MOSS’s default editor, go right ahead) ......

Posted On Thursday, February 21, 2008 1:38 PM

Crawl Log Exporter
As part of setting up Enterprise Search for a major IT company, I had to create content sources for a number of web sites hosted on the company’s intranet. Pretty easy you say, well yes. But the problems arose when MOSS began crawling the websites. There were more Crawl Errors in the crawl log than Crawl Successes. Seems that the web applications MOSS was crawling were not being maintained properly and there were loads of broken links. Naturally, I pointed this fact out to the administrators and ......

Posted On Thursday, February 21, 2008 11:44 AM

Copyright © shehan | Powered by: