NiceDuck Posted February 9, 2020 Report Share Posted February 9, 2020 Hello. I just want to share a workflow again. I made a workflow where your users can view a document type of files, directly on your report datapage. Yes, I know that there is a howto article for that already. its this one: https://howto.caspio.com/tech-tips-and-articles/advanced-customizations/tech-tip-embed-documents-in-datapages/ However, the catch on the work I made is, 1) It also shows the download link for the file. 2) The files are stored on your Caspio Bridge account 3) No need for filestore The instruction are on the embeded doc file:display docs on datapage.docx Hope it helps anyone: Quack Quote Link to comment Share on other sites More sharing options...
0 NiceDuck Posted February 9, 2020 Author Report Share Posted February 9, 2020 By the way, I think you can make a huge shortcut on the work if you can make a JS code that willl automate the process on the step 8 and 9. Also, this is for document types of file only. Videos and Such are not applicable. You will have to use a different code which I do not have right now Quote Link to comment Share on other sites More sharing options...
0 NiceDuck Posted March 1, 2020 Author Report Share Posted March 1, 2020 Hello, I have figured ou t the Custom JS code for this workflow. Please check this updated document. display docs on datapage.docx Quote Link to comment Share on other sites More sharing options...
0 NiceDuck Posted March 2, 2020 Author Report Share Posted March 2, 2020 Hello, Another update, My colleague noticed that this workflow does not deploy the document if the datapage is authenticated. You will have to use a different datapage to host your document files Quote Link to comment Share on other sites More sharing options...
0 Kurumi Posted August 27, 2022 Report Share Posted August 27, 2022 Hi! Just an update on this, if you would like to Preview a video and download it, you can use this solution: Add an HTML block to the "Configure Fields" screen and write the HTML video tag/s based on the solutions explained in the W3Schools: https://www.w3schools.com/tags/att_video_controls.asp Sample code in HTML Block: <video controls width="1080" controls> <source src="[@app:Video/]" type="video/mp4"> Sorry, your browser doesn't support embedded videos. </video> ============================================= [@app:Video/] - parameter where the Video File is stored controls - video controls that consist of the download option Sample Result: Quote Link to comment Share on other sites More sharing options...
Question
NiceDuck
Hello.
I just want to share a workflow again.
I made a workflow where your users can view a document type of files, directly on your report datapage.
Yes, I know that there is a howto article for that already. its this one: https://howto.caspio.com/tech-tips-and-articles/advanced-customizations/tech-tip-embed-documents-in-datapages/
However, the catch on the work I made is,
1) It also shows the download link for the file.
2) The files are stored on your Caspio Bridge account
3) No need for filestore
The instruction are on the embeded doc file:
display docs on datapage.docx
Hope it helps anyone:
Quack
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.