Tuesday, September 11, 2012

Remove the URL appearing in SharePoint Search result.

To remove the URL from the SharePoint search result,

-- Checkout the search page.
-- Edit the search page.
-- Click on the drop down of the search result web part and click Edit web part.
-- Click on the Display Properties.
-- To remove the URL, Click on the XSLT editor.
-- Copy the entire content of the editor and take the backup of it.
-- Then search for the tag
class="srch-Metadata1"  and remove the entire tag.
-- Click on OK.
-- Then check-in the search page and publish the page.

The URLs will be removed from the SharePoint search results.

Thursday, September 6, 2012

Libraries in SharePoint ~ Send To -> Email a Link ~ Ignores all attempts to click it

Some times in the SharePoint Lists and Document Libraries, when we try to Email a link or any document, the link does not perform anything. There will not be any error too.

When we try to search the error either in SharePoint Log by setting the Verbose level of logging, and also in the event viewer logs, we will not get any thing. It is neither an error nor a exception.

The main cause for this problem is the Core.js and Init.js files of SharePoint Server.

Both can be found at the following path.
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\1033
In MOSS 2007 

and 

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\1033
In case of SharePoint 2010.

The fix for this problem is, we need to get these files from other servers and paste it in our server.
Before replacing the files, we should take the backup of the original files.

This will resolve our issue.