Monthly archives: November, 2017

Calendar Webpart to Subsite

Is there a way to make a webpart of a top level calendar and then have it show on a page of a subsite. The thought process is that you have a public calendar for the entire organization, however one of the segments of the organization could go to their subsite and see only their …

Redirecting homepage to root domain

How can I make it so the root of my domain is the default homepage in sharepoint with no redirects? Currently have a SP 2010 external site that is split into 2 seperate sub sites. Currently the root domain (e.g.www.google.com) 301 redirects to a ‘Pages/default.aspx’ page within the SP site. This change has been recommended …

Powershell script to copy a value from one field to another

When I try to run the following powershell script: Add-PSSnapin Microsoft.Sharepoint.Powershell [System.reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint”) $site = new-object Microsoft.SharePoint.SPSite(“http://servername/sites/contoso”) $web = Get-SPWeb -Identity servername/sites/contoso $lista =$web.Lists[“somelist”] $items = $lista.items foreach ($item in $items) { $user = $item[“A”] write-host $useracc $useracc = $web.EnsureUser( $user); $item[“B”] = $useracc write-host $useracc $item.update() } $lista.update() I get the following error: The source …