windmill icon indicating copy to clipboard operation
windmill copied to clipboard

feature: display base64 content in pdf component

Open simon-innovamaxx opened this issue 1 year ago • 1 comments

It would be nice if it were possible to display the base64 string of a pdf directly from a runnable or flow in the pdf component. This would remove the step of an additional s3 upload or general binary handling. This is particularly helpful if you want to display a preview of a file in the app context.

https://www.windmill.dev/docs/apps/app_configuration_settings/pdf

simon-innovamaxx avatar Mar 22 '25 15:03 simon-innovamaxx

Okay, nevermind. I just need to add data:application/pdf;base64, before the base64 content in the URL field.

simon-innovamaxx avatar Mar 22 '25 15:03 simon-innovamaxx