Download All Versions of a Document in SharePoint using PowerShell – Web Services

Requirement:I wanted to extract and download each version of the document stored in a SharePoint library. Well, PowerShell can do it from the client-side using web services. Here is the PowerShell script to download each version to the local folder programmatically. Download all versions of a document using PowerShell Here is what…

Read more

Upload File to SharePoint using Web Services and PowerShell

Requirement: For a file upload issue troubleshooting, had to call SharePoint web services to upload a file into SharePoint document library. Upload File to SharePoint Library using Web Services – PowerShell Here is my PowerShell script to upload file to SharePoint document library using web services:

Read more

SharePoint Web Services Exposed to Anonymous Access Users

Accidentally found my SharePoint Test environment’s web services URLs are exposed in Google as anonymous access! and I was able to access the web services anonymously! Even though SharePoint web services exposed by anonymous access, SharePoint will not allow anyone to do beyond their access rights. Say for e.g. In order to…

Read more

Read From Excel & Import to SharePoint List – Using Web Services

Another code snippet using SharePoint-Web Services. The requirement is: End-User wants to read data from Microsoft Excel (it will be placed at c:\contracts.xls) and append it to SharePoint List (List Name: Contracts) on-demand from his desktop. So the idea is: let’s build a console application, add a web service reference to SharePoint…

Read more

Call web service from Nintex Workflow – To Copy List item between Site Collections

Requirement: Copy a List item between site collections. Oops! Nintex doesn’t has any direct method to do that. It offers Copy/Move/Create list items with in Same site, but not between site collections. So, Lets seek help from Web services with Nintex. Lets say, I’ve a Source-list and Target-List. What I want is:…

Read more

List Aggregation-Rollup across site collections (Even across Farms) using Dataview and Web Services in SharePoint

With SharePoint web services and dataview web part, You can aggregate the lists/document libraries/etc between sub-sites/site collections/web applications/even across forms. So, here I’m going to walk through how to achieve this using a simple example. Let’s say I’ve two sites namely:  Site1  and Site2 and I have an Announcement List 1 in Site 1…

Read more