I have a User collection that has a smart field called file. This smart field recieves a signed url that points to an image or pdf in AWS-S3.
When this signed url points to an image, the behaviour is correct and the smart field shows me that image. But, when this signed url points to a pdf file the behaviour is the following:
- When i click to the list view, appears a file icon on every row and when i click it, browser throws the “file downloading” --> ok, fine.
- When i click on the summary view of a document, in that moment the browser throws the file downloading automatically. And when i cancell it, also the document can’t be previewed.
So, my expected behaviour is as when this url points to an image: When i click on the summary view, and this smart field contain a signed url pointing to an PDF file, the browser wouldn’t have to throw the “file downloading” and simply it’d have to show me correctly the pdf file preview in the smart field.
Any idea? Thank you!!