Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • This sounds like the way I might go. Unfortunately I already had the "No folders" argument with the business unit and lost. What I can probably do is create the folder using the Add method you mentioned, then for each item in the folder I'll just call my working CopyFile function. Do you know of somewhere I can find some real-life examples of calling the method? MSDN just has basic placeholder info and so far all of my google results are coming back with C# in VS projects instead of javascript. Commented Jul 28, 2014 at 21:18
  • 2
    @Omegacron Okay edited and put in some working samples for you using JS -- I don't know how familiar you/your team are with REST vs the JavaScript Object Model, but you would probably gain a lot of advantages with batching using the JSOM. But - I get people do different stuff, that's why there are multiple ways in. Commented Jul 29, 2014 at 2:36
  • I didn't use this exact code, but it got me thinking in the right direction and I was able to get going with something similar. Thanks - marked as answer! Commented Aug 4, 2014 at 17:24