We have a database of .pdf links on Sharepoint. Using Angular 2/4, we want to display a table of these documents.
One of the requirements, is for the user to click on one of the icons in the table and the .pdf file to be streamed to the browser, so in chrome a message displays "Open or Save". I have seen something similar done in Angular beta (Angular 2 download PDF from API and Display it in View), but wondered, if there is a better way to do this.
As a further requirement, then is to "Select All" and then zip each .pdf into its own file and stream the zip. We are using .NET Core Web API and assume this would be the place to undertake the zipping and then process it using the same method as above,
Any guidance on this would be useful.
Regards
Mark