526
Views
15
Comments
Issues with download in Reactive
Discussion

Hello,

Has anyone had issues with downloading files in Reactive? I'm using the download action, providing the binary and the file name.


In 80% of the downloads I get a file with a guid as filename and without extension. In the remaining 20% cases it works fine (for the same file).



I've tested this in the most popular browsers, with multiple file names, with and without extension and multiple file sizes, and the behavior is always the same.


2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

I will ask around at OutSystems.

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi David,

Is there any pattern with regards to when you get the GUID and when the actual file name? If you get a file name, do you always get a file name for that file, or is it random even if you download the same file?

And perhaps a stupid question, but did you debug and check whether FileName actually contains the expected file name, even when getting a GUID? I can imagine a GUID is generated when the FileName is empty, for example.

2022-05-19 09-39-13
David Sousa

Hey,

So far I didn't find any pattern, it appears to be random. The guid is the blob id generated in the JS code that handles the download of the file.

When I get the file name everything is correct and as expected.

And yes, the file name always contains the expected file name. In my sandbox I even hardcoded the file name.

I've heard that the React 16 preview may solve the problem, which is something I'll test tomorrow.

Still, I'd expect the download to work even without the React 16 preview.

Cheers

2020-06-22 16-10-51
Rui Miguel Gamas

Hi David,

Any new findings?

I'm also facing o problem with the download widget in reactive: in Chrome for iOS it won't trigger downloads anymore.


Thanks,

2018-06-08 09-53-48
Vasile Timotin

Hey all, 

Im facing that problem in one of my applications, I had a link that download a PDF file, now I realize that it stopped working.

Is there anything about this?

2025-10-04 16-11-01
Diogo Mendes

Hey guys,

I'm facing the same issue. A couple of days everything was working as expected and now everytime I click on download I get a random GUID as filename and the file doesn't have any extension.. 

Any news regarding this?

2021-08-10 10-38-40
Pedro Gertrudes

Hi Diogo,

I am having the same problem ? Did you already solve it on your side?

2025-10-04 16-11-01
Diogo Mendes

No :( I have a ticket open with OutSystems, but still waiting for an answer.

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

I've asked OutSystems again what the status of this is. Will let you guys know if anything's known about it.

2018-06-08 09-53-48
Vasile Timotin

Hello all.

I've reconfigured the widget and it worked .

Still don't know the problem 

2018-12-04 17-49-32
Gustavo Gaspar

Hello Vasile,

What do you mean by reconfigured the widget?


Thanks,

Gustavo Gaspar

2018-06-08 09-53-48
Vasile Timotin

hello Gustavo.

As i remember i've just configured all the parameters for the download widget.

2022-06-06 14-45-07
Rôney Rocha

I was having the same problem, as a (temporary) solution, we created a javaScript to replace the download component.

-----------------------------------------------------------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------------------------------------------------------------



2021-10-01 16-02-37
Luís Monteiro
 
MVP

Hi everyone,

Today, I'm facing the same issue regarding the download of the Excel files. 

It happens only in one application and instead of downloading the Excel with the filename + extension, it retrieves only a GUID. If I change the filename to the extension I can open it without any issues (so the file is not corrupt).

The filename doesn't work even if hardcoded the name (for example: ".pdf")


Anyone found the root case of this issue?


Best regards,

Luís

2021-10-01 16-02-37
Luís Monteiro
 
MVP

Just to share here for historical purposes:

Our issue regarding the downloads was being blocked by an external integration (Google Analytics). When we disabled the Google Analytics the filename was working properly.

Then, we identified which tag was causing the issue and the filename started working again with Google Analytics enabled.


Outsystems created a case that is under investigation, so if everyone has the same issue could relate to this incident: RPM-2536


I hope it helps.


Cheers,

Luís

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.