SharePoint 2013 – CopyIntoItemsLocal is not returning any results

CopyIntoItemsLocal is not returning any results

I am using the /_vti_bin/Copy.asmx service to copy a file from one location to another location. My destination includes a number of folders ( yes I know folders is a bad idea).

To call the service I’m using Nintex, but the same issue could happen with other tools/code.

I specified a service account to connect to the service.

I created my soap:


<?xml version=”1.0″ encoding=”utf-8″?><br
<soapenv:Envelope xmlns:soapenv=””  xmlns:soap=””    xmlns:xsi=””     xmlns:xsd=””&gt;
<soap:CopyIntoItemsLocal>      <soap:SourceUrl></soap:SourceUrl&gt;


I am getting the right result back that I want:


<soap:Envelope xmlns:soap=”; xmlns:xsi=”; xmlns:xsd=””&gt;
<CopyIntoItemsLocalResponse xmlns=””&gt;
<CopyResult ErrorCode=”Success” DestinationUrl=”; />


But the document isn’t copied … or is it?

The Solution

I logged in as the service account and my file was there. Not checked in though!
One of the fields has some field validation specified and when the file is copied the validation fails. Rather than throwing an error (SharePoint, why can’t you error here, now that it would be useful?)

I gave the field a default value (so that the validation succeeds) and my document appears.


Please leave a comment or feedback

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.