Below is the list of pages & their paths which can be accessed from URL : · Add web parts to any page: append ?PageView=Shared&ToolPaneView=2 · Create New Site Content /_layouts/create.aspx · Create New Site: _layouts/NewsbWeb.aspx · List Template Gallery:…
SharePoint Copy Documents from one document library to another using server object model.
You can use this function created by Julie Turner. Function takes two parameters SPListItem itmSource which is the source item to move, and SPDocumentLibrary libDest which is the target document library. SPFile fileSource = itmSource.File; /*Here we’ll get the created…
Sharepoint Find and remove duplicates in the list using Powershell
Add-PSSnapin microsoft.sharepoint.powershell $web = Get-SPWeb -Identity “” $list = $web.Lists[“List Name”] $AllDuplicates = $list.Items.GetDataTable() | Group-Object title | where {$_.count -gt 1} $count = 1 $max = $AllDuplicates.Count foreach($duplicate in $AllDuplicates) { $duplicate.group | Select-Object -Skip 1 | % {$list.GetItemById($_.ID).Delete()}…
Sharepoint Bulk Delete list items using Powershell
param($weburl,$listname) if ($weburl -eq $null -or $listname -eq $null) { write-host -foregroundcolor red “-weburl or -listname are null.” return } Add-PSSnapin Microsoft.SharePoint.Powershell -EA 0 $web = get-spweb $weburl $list = $web.lists[$listname] $stringbuilder = new-object System.Text.StringBuilder try {…
Sharepoint Copy List Permission using Sharepoint Powershell
Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue #PowerShell Function to copy permissions between Lists in SharePoint Function Copy-ListPermissions() { param( $WebURL, $TargetWwebURL, $SourceListName, $TargetListName ) #Get the Web $Web = Get-SPweb $WebURL $TargetWeb=Get-SPweb $TargetWebURL #Get Source and Target Lists $SourceList = $Web.lists[$SourceListName]…
Cannot retrieve the URL specified after migrating Sharepoint.
“Cannot retrieve the URL specified in the Link property. For more assistance, contact your site administrator” error ? Well there are couple of reasons for it not working , Am going to go over once possibility at a time .…
“Sorry, something went wrong” error message when you sign in as a different user
I have enabled the function of “Sign in as a different user” by the method in the article Here. with the SharePoint build number is 15.0.4481.1005. After a close review, I found that this error is related to URLs with space character. If we…
Sign in as Different User and SharePoint 2013
It’s been noted that the “Sign in as a Different User” menu command is missing in SharePoint 2013 One suggestion for a fix can be found here: http://www.little.org/blog/2012/07/17/launch-your-web-browser-as-another-user/. This “Sign in as Different User” menu item is very useful when testing…
SharePoint 2013 Active Directory Import (ADI) limitations
Below are the list of Pro’s and Con’s of Sharepoint Active directory import vs User profile sync. Import operations that use this option are significantly faster than the same operations that use SharePoint profile synchronization. The AD import option does…
The local farm is not accessible. Cmdlets with FeatureDependencyID are not registered
Running .NET 4 with PowerShell Version 2.0 Microsoft SharePoint 2010 is not supported with version 4.0+ of the Microsoft .NET Framework. This issue can come into play if you happen to install the Windows Management Framework 3.0+, .NET Framework…