Uploader Broken in 11.8 - unable to download

0
File Uploader v2.4.1 in Mendix Studio Pro 11.8.0The download function (icon button) does not work with the advanced setup (using System. FileDocument) on 11.8.I need this to work ASAP, as the other FileDroppers were replaced by this Mendix-built module - we don't really have another good upload option.Error in console: Failed to construct 'URL': Invalid URL TypeError: Invalid URLAlso, I would like the option not to display the downloaded files in a list within the Widget; I would prefer to use only the drop area portion... That way, we can customize our own list views, filters, and options.
asked
2 answers
1

Hi Jay


I just check it in File Uploader v2.4.1 on Studio Pro 11.8-> The widget constructs the download URL incorrectly when using System.FileDocument in advanced mode. As a Temporary workaround Until a patch is released, trigger download via a microflow button using the built-in Download File activity instead of relying on the widget's icon button.

Another method is to construct the file url to open it in via browser when user click the image container or external button. Use get object guid action and construct the file url like /file?fileID={GUID}&forDownload=true. this will work .


example:https://yourapp.mendixcloud.com/file?fileID=1234567890abcdef&forDownload=true

I hope this helps

answered
1

Hi,


This is a known issue in Mendix 11.8 with File Uploader v2.4.1, where the download URL is not constructed correctly, leading to:

Failed to construct 'URL': Invalid URL

Root cause

The widget tries to generate a download URL for System.FileDocument, but in 11.8 the URL handling (React client) is stricter. If the base URL or file URL is not properly resolved, it results in an invalid URL.

1. Upgrade the File Uploader widget

Check Marketplace for a newer version (> 2.4.1).

This issue has been addressed in later releases.

2. Use default Mendix download instead of widget download

Instead of relying on the widget’s download icon:

  • Add a Download File button
  • Use a microflow → Download file activity

This works reliably with System.FileDocument.

3. Ensure correct URL configuration

If you are using custom base URLs / reverse proxy:

  • Verify ApplicationRootUrl is correct
  • Ensure no malformed relative URLs

4. Temporary workaround (if upgrade not possible)

Disable widget download feature and:

  • Use your own List View / Data Grid
  • Add a Download button per file

5. For UI requirement (drop area only)

You can:

  • Hide file list using widget configuration (if available)
  • Or wrap widget and show only drop zone, manage list separately

This is a widget compatibility issue with Mendix 11.8, not a problem with your implementation. The reliable fix is to upgrade the widget or handle downloads via Mendix microflow, avoiding the built-in download action of the widget.


answered