Saturday, December 22, 2012

Thursday, December 13, 2012

SharePoint 2010: VairationFixUpTool

SharePoint Variations is a great feature for creating multilingual Internet/Intranet sites.

The relation between the copies of a page in her language is maintained in a hidde list, called Relationship List. Sometimes, especially when creating new variation labels or sites, entries in this list get out of sync. Microsoft provides a stsadm command to automatically fix relationships:


http://technet.microsoft.com/en-us/library/dd789658(v=office.12).aspx

Wednesday, October 17, 2012

SharePoint 2010: My favorite 3rd party tools

Check some of my favorite 3rd party tools. I used all of them in real life projects and can recommend them based on experience. I'm not paied for this article and i will update this list from time to time.

Administration & Management Tools
  • Feature Admin Tool
  • SharePoint 2010 Feature Upgrade Kit
  • SharePoint Manager 2010
Document Conversion / PDF / PDFA creation
  • Muhimbi Software
Workflow
  • HarePoint
  • Nintex Workflow
Farm Documentation
  • SPDockIT
Search
  • FAST Search for Sharepoint MOSS 2010 Query Tool

CSV Export
  • Export ZEN
SharePoint List Print
  • Print ZEN
Document Managment
  • SharePoint Boost, Copy & Move Documents
  • Download as ZIP
Migration
  • ShareGate
Password & User Management
  • SharePoint Boost, Password Reset

SharePoint 2010 - Search Suggestions: Add/Remove Terms

Search suggestions are one of the key features of SharePoint 2010 search. One lack of functionality is, that you can manage them only by PowerShell.

Overview Search Suggestions concept: http://sharepointfieldnotes.blogspot.ch/2011/09/sharepoint-2010-search-query.html

Best Script to add suggestions based on a csv file input: http://get-spscripts.com/2010/07/add-pre-query-search-suggestions-with.html

ADD Suggestions (Script from get-spscripts.com):

#Set up default variables
$csvfile="C:\Install\SearchSuggestions.csv"
$ssa = Get-SPEnterpriseSearchServiceapplication -Identity "Search Service Application" #Create Lists from each item in CSV file
$csvData = Import-Csv $csvfile
foreach ($line in $csvData)
{
New-SPEnterpriseSearchLanguageResourcePhrase -SearchApplication $ssa -Language en-US -Type QuerySuggestionAlwaysSuggest -Name $line.Suggestion
} $timerJob = Get-SPTimerJob "Prepare query suggestions"
$timerJob.RunNow()


REMOVE Suggestions (modified script from get-spscripts.com):

#Set up default variables
$csvfile="C:\Install\SearchSuggestions.csv"
$ssa = Get-SPEnterpriseSearchServiceapplication -Identity "Search Service Application" #Create Lists from each item in CSV file
$csvData = Import-Csv $csvfile
foreach ($line in $csvData)
{
     Remove-SPEnterpriseSearchLanguageResourcePhrase -SearchApplication $ssa -Language en-US -Type QuerySuggestionAlwaysSuggest -Identity $line.Suggestion
} $timerJob = Get-SPTimerJob "Prepare query suggestions"
$timerJob.RunNow()

Note: Search suggestions are added trught the Timer Job "Prepare query suggestions", no reindexing is required after modifications.

Hint: To avoid problems with special characters, please import the CSV as UTF-8. ANSI will end up in unknow special characters.

Thursday, June 21, 2012

SharePoint 2010 - Metro Style Interface: Recommendation

Metro Interface already on SharePoint 2010? No problem! The guys from LifeInSharePoint created a fabulous masterpage and design solution to start your project. It is up and running in minutes, it is configurable an looks as nice as SharePoint 2013 interface and you can get it on 2010. Great!

> http://lifeinsharepoint.codeplex.com/

Most Important features:
  • Liquid Layout
  • Cufon Integration
  • Jquery Accordion Quicklaunch with Sub Item Count
  • Full Solution with single Site Feature to activate branding (Thanks CKS:Dev Team)
  • Custom Site Settings Action to choose one of three colour schemes (Green, Blue & Red)

SharePoint 2010 - Feature Admin Tool: Recommendation

The Swiss army knife for feature management in SharePoint 2010!

If you need to batch manage features in your farm, the best tool I can reccomend is: http://featureadmin.codeplex.com/

  • This tool allows detection and removal of broken features and feature definitions in SharePoint content databases.
  • It provides a simple and clean UI
  • It allows activation/deactivation/installation/uninstallation of features
  • You can manage features of all scopes

SharePoint 2010 - Move Managed Metadata Databases (MMD) between Farms

Managed metadata and taxonomy is one of the cool things in SharePoint. If you are responsible for the managment of a multi farm infrastructure with development(DEV), integration(INT) and production(PRO) systems you have to provide a solution for moving managed metadata content across different farms. I tried different approches like export/import, shared service application, etc, but none of them provide a complete solutionö. Andrew Connell is the man who can help you. In his article he describes how to move the whole service database from one farm to another.

http://www.andrewconnell.com/blog/archive/2011/06/15/sharepoint-2010-managed-metadata-movingcopying-mms-instances-term.aspx

Usually taxonomy and term store is managed and maintained on production system. If your developers need a copy of the database for testing purposes, or your project manager needs a up to date integration system, you can just move the database as described in the article.

HINT: I automated the database backup/restore process for repeating actions with MS SQL SSIS. It allows you to prepare a package with all parameters and actions required for the movement.

At the end you get a "click once" deployment between farms! Quite nice..

SharePoint 2010 - Move Nintex Workflow Databases between SharePoint farms

Some months ago my project manager came to me and asked if it is possible to move a content database from production farm to development farm. Our developers needed real content to test different extensions. I answered YES, with a big smile. BUT the I recognized, that we use Nintex Workflows. If I would only copy the SharePoint content database, all Nintex workflows would be in a inconsistent state and not functioning on development/integration farm. So I stopped smiling and started searching for a solution.

First of all: Nintex published some whitepapers about this issue.

http://connect.nintex.com/files/folders/tutorials_and_how_tos_nw2010/entry20197.aspx
 http://connect.nintex.com/files/folders/technical_and_white_papers_nw2010/entry17226.aspx

Based on this inputs I created a approch to move our content and Nintex Workflow databases:

Production:
  1. Backup SharePoint Content Database
  2. Backup Nintex Database
  3. Both have to be in Sync. No Workflow changes while Backup

Development/Integration:
  1. Restore SharePoint Content Database
  2. Delete existing Nintex Database
  3. Restore Nintex Database
  4. Mount SharePoint Database
  5. Perform IIS Reset
  6. Change license key to development key
 
HINT: I automated the database backup/restore process for repeating actions with MS SQL SSIS. It allows you to prepare a package with all parameters and actions required for the movement.

At the end you get a "click once" Nintex database deployment between farms! Quite nice..