How to dowload folders from a Documents Library using code?
-
05-01-2021 - |
Frage
Here's the thing: I need to add a button in the page that users can use to download a whole library to their computers.. BUT they must not be able to edit these folders! So I cannot make the button open the documents in a Explorer Window because they may erase or cut any file or folder by mistake, so I just need to add a button in the page which allows the users to download a copy of these folders in their computers, any idea how? (any javascript or html solution?)
Lösung
For sharepoint on premise,
You can implement "Download as Zip" Custom Action into your ribbon. You can refer to this link as a sample http://adicodes.com/download-files-as-zip-file-in-sharepoint
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit sharepoint.stackexchange