0

I want the user to press a button and this creates or copies documents (Excel) into a document library on the same sharepoint site. There are many examples showing how to do this for a list but how can it be achieved for documents?

I've looked at SPFile.CopyTo method but dont know how to use it.

So the source file would have a number of destination files and the name and column data would be altered at time of creation. Looking for a client side javascript solution.

Hope someone can assist.

Thanks

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.