Tuesday, February 18, 2014

HowTo Index Attachment of MSG Files in SharePoint (2010)

In order to be able to index files attached to an msg file uploaded to a SharePoint document library you need to perform a simple modification to your registry.


You need to add this reg in order to tell Crawler how to handle .msg extension.


Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Setup\Filters\.msg]
"Extension"="msg"
"FileTypeBucket"=dword:00000001
"MimeTypes"="application/msoutlook"



Copy this in a .reg file and merge this into crawler registry.


Restart OSSearch and perform an IIS reset.
Also be sure that .msg extension in included in crawled extensions (this should be a default).


Then perform a Full Crawl.


The attachment file type indexed are now dependant from iFilters installed on the SharePoint Farm.

Tuesday, February 11, 2014

How to Disable throttling for specific List in SharePoint

If you need to disable SharePoint list view throttling for a specific list, you can do that using PowerShell with this simple script.

$web = Get-SPWeb “https://fqdn.of.my.website”
$list = $web.Lists["ListName"]

$list.EnableThrottling = $false
$list.Update()


Remember to read "Manage list and library with many items" to understand the best way to manage this kind of lists.