I need to find a way to preview large PDF's that have more than 3 megabytes.
Hi @Miguel,
You can use iframe to display any size of pdf files.
Refer sample oap to see the code
Find the result with 3 mb pdf file : https://aadhavans.outsystemscloud.com/Sample/Sample
Thanks Aadhavan S
There's a problem with your sample. i can't open it.
Im using Iframe with binarytobase64 but its not working....
Thank you very much for your time :)
Hi @Miguel Nicolau,Try this forge component https://www.outsystems.com/forge/component-overview/7092/reactive-web-previewerHope it helps
Thank you very much for your time!
I tried before but it was not working. What should i put on filetype?
You can put the file type as ".pdf"
I did it and the PDF shows only a white page.
You can have a look at the attachment for better understandings
Thanks a lot Swapnil,
Im doing exactly the same but still the only thing i get is a white page.
Please share your oml file for better understanding
you can see it on page "teste"
You can try this
still not working.
You can see the PDF?
Hi,
iam using Adobe PDF embed to display documents. There is also a component on the forge Adobe PDF Embed API - Overview | OutSystems, but i cannot tell anything about it as i did my own implementation.
Best
Stefan
Hi, Stefan.
Thank you very much for your time.
I will give it a try.
Hi Miguel,
Try this components - https://www.outsystems.com/forge/component-overview/10147/html-document-viewer
Regards,
Shahaji
Thanks a lot for your time Shahaji, but it's not compatible with my environment.
regards.
Miguel