gitbrent/SpRestLib

Lib folders managing

rachidio opened this issue · 6 comments

I want a direct method (instead of using sprestLib.rest), to create and edit documents library folders.

I used this lib a lot since i discovered it.
i am also looking for the methods for documents library. Looking forward to the implementation!

What kind of document management features are you guys looking for?

  • Upload documents to library
  • Check-in/out documents
  • Edit document properties
  • What else?

I add to your list

  • Create new folder
  • Delete a Folder
  • Upload document to a Folder
  • Download a document
  • Download a whole folder (as zip)

Thank you

UPDATE

New Folder() methods available now (future version 1.9.0):

  • add()
  • delete()
  • recycle()

The ability to download a document was made available in 1.8.0: sprLib.file('fileName').get()

UPDATE

New folder() method available now (future version 1.9.0):

  • upload()

The examples directory contains working examples for file uploading using both client browser and node.

Hi @ra6hi9

With one exception, everything here will be available in the 1.9.0 release.

As "download whole folder as .zip" is not a distinct SharePoint API method, i'm setting this one aside for now.

Thanks for the feedback!

File API

Folder API