This component has two WebBlocks. One is for displaying binary PDFs, and the other for displaying PDFs from a URL.
It leverages your WebBrowser’s PDF functionality, so the features such as (print, zoom, download) may vary from browser to browser.
It’s been tested in Chrome, FireFox, and Safari.
Unfortunately, Microsoft browsers will not allow displaying binary content, so the binary PDFs will not work in Edge or IE.
Simply set the height, bind the PDF parameter to the appropriate variable.
When the content of the variable is set, the PDF will render.
- made the width automatic (100%), depending on the container
- added instructions in the Demo for Content Security Policies configuration (esp. relevant for on-prem Outsystems installations)
- cleaned unused dependencies for min size