How to Download A File using JavaScript Client
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2020 02:00 PM
Is there a complete example of how to download a file using the JavaScript Nuxeo Client? I have tried coding this and need some help.
Attached is a function from a React application which uses Electron.
The code to display the file using PDF works OK.
The code to download non-PDF files is failing. I would appreciate some help to make this work.
Thank you. Sincerely, Victor Reinhart UnitedHealth Group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2020 04:27 AM
Hello,
The Getting Started section of the Documentation website contain a full tutorial using the Javascript client.
https://doc.nuxeo.com/nxdoc/managing-files/
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2020 11:50 AM
Hi Gregory, Thank you for your reply.
I visited that link. It says: "Goal Upload a file to your Nuxeo Platform instance, create a contract and attach the file to the contract."
This has nothing to do with my question. This is about uploading a file.
Is there a complete example of how to download a file using the JavaScript Nuxeo Client?
I searched the examples and didn't find anything helpful.
Thank you. Sincerely, Victor Reinhart UnitedHealth Group
