Error Document Download

Hi,

I have a stage in my process where the document or file that is loaded in the first stage shown, should be able to be downloaded by clicking on automatically, however shows me an error that I could not solve, someone knows why this happens?

This is the error:
HTTP Status 500 - The filename, directory name, or volume label syntax is incorrect
type - Status report
message - The filename, directory name, or volume label syntax is incorrect
description - The server encountered an internal error that prevented it from fulfilling this request.
Apache Tomcat/7.0.67

Regards,

Victor

I would check (print out) the file name and see what it is trying to do: Do you have a : in the string for example. I think this is simply a invalid file name.

regards
Seán

PS: If this reply answers your question, please mark as resolved.

My goal is to show and to download multiple files, the same were loaded in the first stage of the process. Show the files but could not be downloaded.

The procedure I was doing on a link widget and it did not work. In the text field placed: {{$item.fileName}} and in the URL field: “/bonita/portal/”+ $item.url

I did the same in a text widget placing everything within a HTML link tag like this: <“/bonita/portal/{{$item.url}}”>{{$item.fileName}}</> and it worked. I do not know because the old way was not working me as previously I had been using as well. I leave that as another way to do it if ever happens to someone something.

Thank you very much for your answer Seán, regards.

Hi,

I have the same problem. In the link widget the code “/bonita/portal/”+ $item.url in the URL field worked with 7.2.1 version, but doesn’t work anymore in 7.3.1.

I made a bug report https://bonita.atlassian.net/browse/BBPMC-413 because backward compatibility is broken. I haven’t found in the documentation how to build the correct URL in Bonita 7.3 (but maybe I should search again…).

Any help on the new syntax we must use to download process instance documents with the link widget would be great :wink:

Best regards,
Marina

Oups, my mistake ! The syntax for document download hasn’t changed, it’s still “/bonita/portal/”+ $item.url, but when migrating a form to bonita 7.3 you need to switch the URL field from “fx” to “X”.