HTML Document Viewer

Stable Version 1.0.4 (OutSystems 11)
Published on 29 Jan by 
Stable Version 1.0.4 (OutSystems 11)
Published on 29 Jan by 

HTML Document Viewer

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:

What’s new (1.0.4)

Providing the container id for generic approach 

Reviews (0)
Functional libraries & utilities, Files & documents
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Shahaji Nangare who created this component.
See all 4 dependencies
Component Consumers
No consumers yet.
Weekly Downloads