How can I use a expression field with a query to a column with binary data for the preview component? I've add an expression field with the following select query:
select CONVERT(VARBINARY(5000),file_upload)
from project_order_document
where project_document_id = 213
The column contains the binary data of a .pdf file but the previewer shows the text "No filepath is given”.
The domain has datatype VARBINARY_MAX without user interface control. If I try to change it into "File link” it changed automatically to "File upload".