Posts

copy one list item to another

####################################################################
#Copy/Replace items from one list to another list with Attachments
#Original Author:Adi
#Enhancements - Author: Indra Appala
####################################################################

Remove-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue
Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue
   try
   {   
   $srcListSiteUrl = "http://win-4qnjgfbpcf3:2323/sites/test/"   
   $SourceListName = "Contacts 1000"   
   $dstListSiteUrl = "http://win-4qnjgfbpcf3:2323/sites/test/"   
   $DestinationListName = "Contact"   
   $keyColumnInternalName = "Title"   
   $sourceListWeb = Get-SPWeb -identity $srcListSiteUrl   
   $sourceListUrl = $sourceListWeb.ServerRelativeUrl + "/lists/" + $SourceListName;   
   $dstListWeb = Get-SPWeb -identity $dstListSiteUrl   
   $destinationListUrl = $dstListWeb.ServerRelative…

Download Deployed Solutions (WSP) from Central Admin with PowerShell in SharePoint 2013

$FolderPath = "c:\Solutions"
    foreach ($solution in Get-SPSolution)
    {
       $id = $Solution.SolutionID
       $title = $Solution.Name
       $filename = $Solution.SolutionFile.Name
       $solution.SolutionFile.SaveAs("$FolderPath\$filename")
    }

We apologize for any inconvenience, but we've made the site read only while we're making some improvements

$admin = new-object Microsoft.SharePoint.Administration.SPSiteAdministration ("http://192.168.10.50/")
$admin.ClearMaintenanceMode()

Display Locations on a Map in SharePoint 2013

https://rajatvedisharepoint.blogspot.in/2018/01/display-locations-on-map-in-sharepoint.html?lipi=urn%3Ali%3Apage%3Ad_flagship3_feed%3Bay34%2BcEXQou8UPH0s0XhAQ%3D%3D

Validate Email Address Columns in SharePoint

=AND( ISERROR(FIND(" ", [Email],1)), IF(ISERROR(FIND("@", [Email],2)), FALSE,

Error when opening site in SharePoint Designer 2013

Image
https://www.brightwork.com/product-blog/error-when-opening-site-in-sharepoint-designer-2013#.Wd8YiWiCzDc


This week we came across an interesting error which took us some time to troubleshoot. There is a lot of conflicting information on the error online so I thought I would give you my experience. The error occurs when you attempt to open a site using SharePoint Designer 2013. You receive the following. The server could not complete your request. For more specific information, click the Details button. Designer will also crash hand you will need to kill the task in your task manager.
On a side note when you choose the details button for more specific information you are returned a blank form which is unhelpful. The solution was to enable some authentication options on the SharePoint Web Services site in iis. I enabled Anonymous Authentication, Asp.net Impersonation, Forms Authentication and Windows authentication.  I found these were disabled when I inspected them. Finally run an iisr…

https://blog.victorvogelpoel.nl/2014/02/03/powershell-recreate-sharepoint-web-services-web-application-bindings/

# Recreate web bindings for the SharePoint 2013 webservice webapp "SharePoint Web Services" # Victor Vogelpoel Feb 2013 $webappName= "SharePoint Web Services" if