Thursday, April 21, 2011

Sharepoint Query Suggestion (seed)

When you type something in SP search you want suggestions to appear. To add such suggestion execute script. This seeds word “Sharepoint”.
$sa=Get-SPEnterpriseSearchServiceApplication
New-SPEnterpriseSearchLanguageResourcePhrase -SearchApplication $sa -Language EN-US –Type QuerySuggestionAlwaysSuggest -Name "SharePoint"
Start-SPTimerJob -Identity "Prepare Query Suggestions"

Hide/Show List Field on the New/Edit Form (Moss 2007)

Use Sharepoint Tips Utility Pack or SPListDisplaySetting Feature.
More about this can be found here: http://patrikluca.blogspot.com/2008/10/customize-sharepoint-list-form.html

Sharepoint 2010 Manager

The SharePoint Manager 2010 is a SharePoint object model explorer. It enables you to browse every site on the local farm and view every property. It also enables you to change the properties.
http://spm.codeplex.com/

Enable Publishing on SharePoint site collection

This is needed in order to change master page.
First activate SiteSettings-> Site Collection Features ->Sharepoint Server Publishing Infrastructure
Second activate SiteSettings->Manage site features->Sharepoint Server Publishing
Now under Site Settings (Look and Feel) you should see Master page link.

View SharePoint TermSet hidden table

When termssets are created the items are added to the hidden list that can be viewed:
http://{your
site url}/Lists/TaxonomyHiddenList/AllItems.aspx
Note: Termsets survive deletion of site collection but this list is cleared.

Rename SharePoint wsp package

Change the name in Package.package file.

Deploy bug in Visual Studio when run with F5

Error occurred in deployment step 'Activate Features': The field with Id {fa9b24b2-a930-4292-9ccb-b2e4b99c0ac8} defined in feature {549e220b-ab9e-4890-aa80-0ded9435f1b8} was found in the current site collection or in a sub-site.
Even though id is unique.
Just kill the process:  wssphost4.exe