[Solved] How to display pdf/images saved as a blob(document database) in a grid directly to the screen as a PDF/JPG etc

The solution should be …someone clicks on the document column below and the pdf or the image file displays instead of going to downloads.
image

Clicking on it takes you to a download option…

Note: Don’t want to use Document File as the files/images need to be saved in the database.

Instead of displaying the blob column directly, I added an HTML image column to the grid. This image column links to a control application that renders the blob column and displays the image in the browser instead of going to downloads.

image

1 Like

How did you do this? Would you mind showing how you got your control application to display the blob