I discovered how to create a PDF and download it to the Downloads folder in a blog post. This worked just fine during testing. However, when I built the app, nothing happens when I try to download the PDF.
I made up a sample project to test out different things:
- If I just assign the WebFile as text/plain Mimetype, it works in testing and deploy
- When trying with MimeType “application/pdf”, it only works in testing
- I even added an HTMLViewer to the page to display the PDF and set the ForceDownload to False. Again, this works in testing, but not when deployed
I am using 2024 R1. Is this a known bug, and was this fixed in a later version? I see Xojo is now on 2024 R2.1
6 posts - 2 participants