32
Views
2
Comments
Why is my excel file not downloading in correct format after texttobinaryconversion?

I have an excel file in my resources, it is not in binary format. It is a URL. I want to be able to download on click of a button. I tried converting it using TextToBinary using the BinaryData module as well as the the BinaryData_ClientSide. 

Upon downloading, it gives me 'Not in the correct format' error. 

I used a link and assigned another excel file 'A.xlsx' from resources(that exists on my system) on click THAT file downloads and opens correctly. However, when I used the same approach for the FIRST file it downloads and gives me the same error message.

Please note: This is a reactive app, not native/mobile.

And on Click of the Download Button, the following executes.



 


2024-05-22 06-12-56
Vignesh Prakash

Hi @Priya Sopan

If Feasible Please share a sample OML or relevant screenshots for better understanding.

Thanks,
Vignesh Prakash.

UserImage.jpg
Priya Sopan

Hi @Vignesh Prakash 

I've added some images to give you some more context, please check. 

Edit: The problem was with the file in xlsx type, changed the type to CSV it works now.

Thanks

Priya Sopan

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