Give us feedback
htmlpdfviewer
Reactive icon

HTML Document Viewer

Stable version 1.0.6 (Compatible with OutSystems 11)
Uploaded on 22 June 2021 by 
4.3
 (6 ratings)
htmlpdfviewer

HTML Document Viewer

Details
Display the Document file[.gif, .jpg,.jpeg,.pdf,.tif,.tiff and .png] in the HTML page
Read more

Below are the steps to show the Document in the HTML page

  1. Upload file
  2. Read in binary
  3. Convert binary to base64
  4. Append prefix "data:application/pdf;base64," + Base4 data
  5. Assign the above base64 url to iframe source i.e. src.
  6. Show the pdf in html.

How to implement the web block?

There are only three steps implementations.

  • Copy and paste the web block on page
  • Assign the base64 value. 
  • Assign the Mime/Content Type
  • Assign the handler.


Demo Screen:


Release notes (1.0.6)

Fixed a bug in the component.

Reviews (1)
by 
2022-06-15
in version 1.0.6
MIME_SNIFFER_LIB is missing,  this tool becomes useless.
Team