I'm trying to copy file with SPServices but my file stays 'linked' (if You open details - SharePoint says this is a copy and offers to unlink). I got my new item with another query and tried to

addedItem.set_item("RelatedId", currentId); // just for example
addedItem.set_item("_CopySource", "");      // error here

but get error that "This property is not updatable"

I found that there is no way to unlink using js, is it right? Also - strange that SPServices updates details even if I comment 'Fields' setting at all.. How do You make file copies and update details in JSOM?

Here is part of my code: gist

Also as I google - this CopyIntoItems function is a little strange

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.