cancel
Showing results for 
Search instead for 
Did you mean: 

How to Download A File using JavaScript Client

Victor_Reinhart
Champ in-the-making
Champ in-the-making

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

2 REPLIES 2

Gregory_Carlin
Elite Collaborator
Elite Collaborator

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

Victor_Reinhart
Champ in-the-making
Champ in-the-making

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

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.