OutSystems installation: On-Premise
Platform version: O 11.0.424.0
File Storage: Amazon S3
In our On-Premise version of OutSystems I'm consuming the REST API from S3 to get the non-public file URL along with security token, long expiry time and other amazon parameters.
The URL I receive is accessible on browsers, but when supplied to Web Previewer component, it throws error (can not preview the file).
It works with image (png/jpeg), but not with other types e.g. docx, xlsx, pptx, pdf.
Making the files public it starts showing in the preview panel. This eliminates the thought of Firewall issue.
Also, if browsers can open the non-public file provided the security token then what's causing issue with component? Any pointer?
Ah, I found the issue and made it work.
For future readers,
N.B: I've changed few parameter values to safeguard content.
Hi, Swatantra
Maybe you can try S3 Presigned URL.
It allows anonymous users to access the assigned object stored in a bucket
Sincerely
Tony