Converting base64 string to PDF in memory

Andrew Stolarz stolarz at gmail.com
Tue Mar 29 16:41:13 UTC 2022


Mayada,

I was looking to do something similar a number of years ago. It's my
understanding that with the JS client, you need to save the PDF to disk
before being able to display it in a JS form.

We ended up placing the PDF's into a temp location and cleared them out
after.


Andrew


On Tue, Mar 29, 2022 at 11:24 AM <malkishtini at gmail.com> wrote:

>  Hello $list,
>
> I have a project to convert a base64 string (which I get from an external
> REST API) to a PDF and display in a JS form without saving any file to a
> disk (i.e., convert it to a PDF in memory and display it in an HTML object
> in the JS form (Studio 8.1.7)).
> I have not done this before, so the first thing I thought about was to
> post a question to the list to see if anyone has done something similar
> before and could kindly share some ideas with me.
>
> Thank you in advance for any hints/thoughts.
>
> Best regards,
> Mayada
>
>
>
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>


More information about the omnisdev-en mailing list