Previously I have managed to extract URL no.1-2 above, and produce a very satisfying display. However, if you use the Google Drive URL in its entirety, what happens is the Html display, except for the files uploaded to Glide.
For example:
https://docs.google.com/viewer?embedded=true&url=https://drive.google.com/file/d/161ZKLymPCsQQJOtYAVSjdug-cOhvqj/view?usp=sharing
Thank you Uzo. Just one step to finish it in Glide.
if you convert your files using my script, you can post it in image element: I just convert my pdf file made from GS sheet and insert URL into Image component in Glide⦠and it works⦠same for jpg, gif, png⦠try it:
https://drive.google.com/uc?export=view&id=10YBs5SJZR0goLo52QQWOyUE_nHmxSLDb
Try to explain.
I canāt possibly have a folder ID if the file comes from a user in the form of a URL link. Or is this the folder of the spreadsheet?
oh, users make that pdf? then you have to create a small script to upload files using a webview and frame it ā¦
<iframe src="https://docs.google.com/gview?url=https://path.com/to/your/pdf.pdf&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>
There are three conditions, namely uploading to Glide, Google form (if you want it to be held with a questionnaire), or sharing from each. I just have a note the URL should still be a pdf if it is downloaded by someone else.
i do not understand⦠why do you collect PDF?.. the only way you can convert PDFs from google drive, is if know the folder ID and folder is shared publicly
Lecturers need to download, correct or restore the file (share or upload). When viewed from the studentās point of view, they usually do combination work which can be in the form of cad files, photoshop, etc. Of course, to bridge the gap, pdf is the solution. When compared to images, there are often blurry problems or are difficult to correct by their lecturers.
you wanna correct or restore in Glide??? or just collect files and correct them in other applications?
I donāt need to convert to pdf anymore, because thatās what they produce.
Yes, Jeffās way is perfect. If there is no other way then the only way is to extract it first and wrap it in Google document viewer.
Every correction from a lecturer must be re-uploaded and other parties can read and learn what other lecturers commented on.
you can simply collect the files using a file picker, and they will open them in their own browser
Except for the exams, I used my google suite to store all those files for reasons of the archive, and of course, itās not possible to use Glideās storage (Glide has to thank me ).
collect with the file picker into a USC and use action to store in GS
Great idea⦠This is off topic about displaying it in apps.
it is related⦠so no problem
Do you mean the URL or the file directly?
URL will be the best⦠to be collected with text entry component⦠no storage ⦠lol
I misunderstood your meaning. I still need the direct pdf file.(Exam case)
If you just copy into the GS, isnāt that the case all this time?
students can store pdf on the drive and paste URL to text entry component⦠then you can display it using webview or image component
Is it possible to use the Glide button to save it to my drive?