QueenB Posted March 6, 2019 Report Share Posted March 6, 2019 Hi, Is it possible when you have a file attached in a tabular report to just view it instead of clicking it and it automatically downloads? Thanks. Quote Link to comment Share on other sites More sharing options...
0 cheonsa Posted March 6, 2019 Report Share Posted March 6, 2019 Hi @QueenB, Yes, it is possible to open a file instead of downloading it automatically. The documents must be saved also under the Files tab on All Assets and enable the FileStor CDN. For more information about FileStor please refer to this link: https://howto.caspio.com/files-and-images/filestor-cdn/ On your DataPage, enable Hyperlink for the download and Custom Hyperlink text. Please insert this on the field: <a href="[@field:Docu/]" target="_blank">[@field:Docu]</a> Please change the field to the corresponding field name on your table. Hope this helps. -kristina Quote Link to comment Share on other sites More sharing options...
0 cheonsa Posted March 6, 2019 Report Share Posted March 6, 2019 Hi @QueenB, Just to add from my previous comment above, you could embed a variety of documents in your details pages similar to the way you can embed an image. Please see this link for more information: https://howto.caspio.com/tech-tips-and-articles/advanced-customizations/tech-tip-embed-documents-in-datapages/ - kristina Quote Link to comment Share on other sites More sharing options...
0 Kurumi Posted November 2, 2021 Report Share Posted November 2, 2021 Hi! Just an update on this, Caspio has a new Tech Tip called: Preview an Image before It is Uploaded in a DataPage. You may visit it here: https://howto.caspio.com/tech-tips-and-articles/advanced-customizations/preview-an-image-before-it-is-uploaded-in-a-datapage/ Hope it helps! Quote Link to comment Share on other sites More sharing options...
0 cheonsa Posted September 26, 2023 Report Share Posted September 26, 2023 I discovered another solution to preview or open attached files in the DataPage instead of downloading them, and without enabling FileStor CDN. It is by using Google Document Viewer. In an HTML Block, just paste this code: <a href="https://docs.google.com/viewerng/viewer?url=[@field:Doc/]" target="_blank">[@field:Doc]</a> You just need to change the field name to your corresponding field in the Table [@field:Doc] Hope this helps. Quote Link to comment Share on other sites More sharing options...
Question
QueenB
Hi,
Is it possible when you have a file attached in a tabular report to just view it instead of clicking it and it automatically downloads?
Thanks.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.