Thursday, April 18, 2013

TagCloud Webpart not available SharePoint 2010

Do you feel like breaking your head is less painful than looking for Tagcloud webpart ?.

Well than don't worry your head is probably safe is you haven't yet given  up searching :-)


Just Activate the PortalLayouts feature

stsadm -o activateFeature -name "PortalLayouts" -url "http:///sites/" -force

Wednesday, April 17, 2013

Usage Data Retention in SharePoint Database - SharePoint 2013

Check the current retention policy using :
Get-SPUsageDefinition

By default it's 14 days.

To change the retention use the following script:

Set-SPUsageDefinition -Identity "Page Requests" -DaysRetained 31


Complete definition of this command can be found at :
http://technet.microsoft.com/en-us/library/ff607542.aspx


Parsing Log/Text files

One of the team member was looking for ways to parse through logs to find errors in a big dump of files. I had to go to basics to get the r...