Search This Blog

Wednesday, October 17, 2012

Manage visual upgrade (SharePoint Server 2010)

Scenario:

On migrating from MOSS to SharePoint 2010 using detach/attach method. After successful migration on SharePoint 2010 by default migrated sites will render in MOSS look fell. To upgrade it SharePoint 2010 look feel need to do below steps.

Navigate to -> Site actions -> select visual upgrade menu item.

in the above approach you have to repeat this for all sites that was migrated from MOSS.

Revert sites to previous user interface

If a site collection owner or site owner finalizes the new user interface by mistake, or if they have a problem that they cannot solve, you can revert back to the previous user interface by using Windows PowerShell. This procedure shows you how to revert one or all sites in a site collection to the previous user interface.

To revert sites to the previous user interface by using Windows PowerShell

  1. Verify that you meet the following minimum requirements: See Add-SPShellAdmin.

  2. On the Start menu, click All Programs.

  3. Click Microsoft SharePoint 2010 Products.

  4. Click SharePoint 2010 Management Shell.

  5. To revert a specific site in a site collection to the previous UI, at the Windows PowerShell command prompt, type the following command:

    Get-SPSite http://machinename/sites/V3UI | Get-SPWeb "webname" | Foreach{$_.UIVersionConfigurationEnabled=1;$_.UIVersion=3;$_.Update();}
    

    To reverts all sites in a site collection to the previous user interface, at the Windows PowerShell command prompt, type the following command:

    Get-SPSite http://machinename/sites/V3UI | Foreach{$_.UIVersionConfigurationEnabled=1;$_.UIVersion=3;$_.Update();}
    

For more information, see Get-SPSite.

To overcome the above we run PowerShell command to automate it.

Solution:

Upgrade Visual  from MOSS to SP 2010

Add-PSSnapin “Microsoft.SharePoint.PowerShell”
$site = Get-SPWeb “http://YourSp201oSite”
$site.UIVersion = 4
$site.UIVersionConfigurationEnabled = False
$site.Update()

Toggle/revert from SP 2010 UI to MOSS

Add-PSSnapin “Microsoft.SharePoint.PowerShell”
$site = Get-SPWeb “http://YourSp201oSite”
$site.UIVersion = 3
$site.UIVersionConfigurationEnabled = true
$site.Update()

No comments:

Post a Comment