New answers tagged


Locker only supports opening http:, https:, mailto: schemes and relative urls. To achieve what you're trying to do, you need to slightly refactor your solution to generate a download link that users can click. Users click a "Generate Download Link" button that gets the PDF content in Base64 format using Apex, and then generates a unique Blob URL ...

Top 50 recent answers are included