Thursday, October 28, 2010

Sharepoint 2010 Remove broken web part

Just ad "?contents=1" behind whatever page ure trying to fix

Example:

http:///Pages/default.aspx?contents=1

Sometimes you have to check the page out first.

import and export site collections in sharepoint 2010 Powershell

Export-SPWeb -IncludeUserSecurity -IncludeVersions CurrentVersion

Import-SPWeb -IncludeUserSecurity -UpdateVersions Overwrite

Deploying web part to production server sharepoint 2010

These steps are required: (in powershell)
ADA

A - Add - Add-SPSolution
D - Deploy - Install-SPSolution - GACDeployment - AllWebApplications
A - Activate - /_layouts/newdwp.aspx

Then, to update: Update-SPSolution -GACDeployment