Click here to Skip to main content
15,890,438 members

Comments by xTMx9 (Top 60 by date)

xTMx9 25-Mar-24 5:16am View    
I have searched for the error before and found many ways to fix this error but none worked. I tried again and found a hint in one of the searches from your link. The fix was simply to add the ngFileUpload to the app.ts file in the other used module. That fixed the problem.
Thank you.
xTMx9 26-Oct-23 9:34am View    
Thanks for the info, I ended up removing the js file approach altogether and directly sending the request through form. I got back the correct file with no errors.
It seems like the main issue was with handling the file in the js script, couldn't find a fix.
xTMx9 25-Oct-23 6:07am View    
I believe the problem could be in the js script, do you advise or know of a different way to handle the file download?
xTMx9 24-Oct-23 4:18am View    
Yes,I guess it is being badly built, I changed the extension to xls and this is what I get:
https://imgur.com/a/PrEV7Dg
The file opens but it is not filled with correct data, it is also supposed to just download an empty excel file since I am just testing it now.
Do you recommend to change something or know why is this happenning?
xTMx9 23-Oct-23 12:30pm View    
I only saw others using blob when doing such operation and didn't find results for another approach.
I have added a link to a screenshot of the result of the "data" object on the frontend, it might help.