Nuxeo Server

Downloading Files

Updated: December 5, 2017 Page Information Edit on GitHub

This page is scheduled for review and update. Check back soon for updated content!

This page describes the logic for building the correct URL to download a file stored on a Nuxeo Document.

The structure of a download URL is made of:

  • The server URL:
  • The download servlet: nxfile (note that nxbigfile is also accepted for compatibility with older versions)
  • The repository name and document id: default/776c8640-7f19-4cf3-b4ff-546ea1d3d496
  • An optional file designator, either using a blobholder index, or an explicit blob property name (blobholder:0, blobholder:1, file:content, files:files/0/file, etc.)
  • An optional filename, to force the name under which you want the file to be downloaded
  • An optional ?inline=true parameter to force the download to be made with Content-Disposition: inline, which means that the content will be displayed in the browser (if possible) instead of being download.

Here are some examples:

  • The main file of the document:
  • The main file of the document with a different name:
  • An attached file of the document:
  • A file stored in the given property:
  • A file stored in the given complex property, downloaded with a specific filename:
  • The main file of the document inside the browser instead of being downloaded:

Other Documentation About URLs
a month ago Manon Lumeau add tags for doc days
2 months ago manonlumeau Added content-review-lts2017 label
3 months ago manonlumeau NXDOC-1346-FT review screenshot
a year ago Solen Guitter 9
2 years ago Florent Guillaume 8
3 years ago Solen Guitter 7 | JSF only content was moved on page URLs for Files
4 years ago Solen Guitter 6
4 years ago Vincent Dutat 5
4 years ago Solen Guitter 4
4 years ago Alain Escaffre 3
4 years ago Solen Guitter 2
4 years ago Alain Escaffre 1
History: Created by Alain Escaffre