Step-by-Step: Adding Language Packs to SharePoint 2010

Written by Denis Stadler on . Posted in IT Pro & PowerShell, SharePoint 2010

First of all we have to download the SharePoint 2010 Language Packs from Microsoft. Before clicking the Download button please select from the Change Language drop down the language you want to implement.

You could also search for the localized version of the Language Packs, directly. For example – German version of the SharePoint 2010 Language Packs.

One observation – you can use this file too add language packs for the following products too:

  • Microsoft SharePoint Server 2010
  • Microsoft Project Server 2010
  • Microsoft SharePoint Search Server 2010
  • Microsoft SharePoint Search Server Express 2010
  • Microsoft Office Web Apps 2010

Step-by-Step: Yahoo Weather Integration in SharePoint 2010

Written by Denis Stadler on . Posted in SharePoint 2010

Some time ago I wrote a blog post which described how to add a Twitter feed in SharePoint 2010.

Using the same web part – XML Viewer Web Part it is possible to add Yahoo Weather forecast feed in SharePoint too.

For example the Helsinki weather forecast feed returns the following data:

The web address of the RSS feed is:

http://weather.yahooapis.com/forecastrss?w=565346&u=c

How to Automatically Add / Provision a Web Part in a SharePoint 2010 Publishing Site’s Master Page / Page Layout

Written by Denis Stadler on . Posted in Publishing Feature, SharePoint 2010

You might have this requirement in the following scenario: your master page needs to display dynamic information (for example Calendar Web Part, Weather Web Part or Twitter which both can be done with XML Viewer Web Part or dynamic HTML from a SharePoint List displayed with CQWB – Content Query Web Part).

This can be easily solved with SharePoint Designer. Please find bellow the full scenario described:

As a first step you need to create a new place holder within the Site’s Master Page. So, in SharePoint Designer open your Publishing Site Collection and then browse to the current master page.

Infrastructure Planning and Design (IDP) Guide for SharePoint 2010 – Now Available

Written by Denis Stadler on . Posted in SharePoint 2010

I have just received an e-mail message from Microsoft which says that Infrastructure Planning and Design Guide for Microsoft SharePoint Server 2010 is available for download.

Follow the link and you will download a ZIP archive which contains:

  • SharePoint 2010 Diagrams – Visio File
  • the SharePoint 2010 IDP presentation – it describes the main steps of the SharePoint 2010 infrastructure and design guide.
  • a detailed document with instructions.

At the end of the document you will find the Appendix D which describes how you can map the IDP guide on the Microsoft Operations Framework (MOF) 4.0 best practices.

I think this guide should be a must read!

sp-powershell

SharePoint 2010 Administration PowerShell Sheet

Written by Denis Stadler on . Posted in IT Pro & PowerShell, SharePoint 2010

There are 652 SharePoint Server 2010 PowerShell cmdlets. Please find bellow a short list with the ones that I use.

Before starting please verify that you meet the following minimum requirements:
1. Your user account is a member of the SharePoint_Shell_Access role on the configuration database.
2. Your user account is a member of the WSS_ADMIN_WPG local group on the computer where SharePoint Server 2010 is installed.

Please open SharePoint Server 2010 Management Shell. To acomplish this please follow the steps:
1. On the Start menu, click All Programs.
2. Click Microsoft SharePoint Server 2010 Products.
3. Click SharePoint Server 2010 Management Shell.

Application Management

Web Applications

To create a new Web Application using PowerShell just use:

New-SPWebApplication -Name <Name> -ApplicationPool <ApplicationPool> -ApplicationPoolAccount <ApplicationPoolAccount> -Port <Port> -URL <URL>

Create a Site Collection

To create a new Site Collection using PowerShell first you have to chose a template. To do that just use the following command to list all the templates available within SharePoint:

Get-SPWebTemplate

Then replace <template-name> with your selected template and use the following command to create the site collection:

$template = Get-SPWebTemplate <template-name>
New-SPSite
-Url <URL for the new site collection>-OwnerAlias <domain\user> -Template $template