Re: The downloaded file is an HTML file and not PDF
Hi @Anonymous ,
Could you please share a bit more about your issue?
Do you mean that you could not save the downloaded file as PDF file when you run your app in PowerApps Desktop?
Further, have you installed PDF Client witin your PC?
Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. The screenshot as below:
Based on the issue that you mentioned, I think this issue may be related to the PDFDown URL value. The PDFDown URL stored in your Excel table is not point to a specific PDF file (e.g. https://.../../dummy.pdf).
In other words, the PDFDown URL does not contain a specific PDF file name (e.g. dummy.pdf). If the URL you provided within the Download() function does not contain a specific PDF file name, when you download this file using PowerApps Desktop, your PC would not recognize it as PDF file.
As an alternative solution, you could consider include a speicfic PDF File name within the PDFDown column, then try your formula again, check if the issue is solved.
In addtion, please also consider use the PDFSource column value as argument of the Download function instead of PDFDown column. Modify your formula as below:
Download(ThisItem.PDFSource)
then check if the issue is slved.
Best regards,