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.
Hi @Priya Sopan,
If Feasible Please share a sample OML or relevant screenshots for better understanding.
Thanks,Vignesh Prakash.
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