Hi all ,
Is there any way to upload pdf’s to thunkable .
I checked a few tutorials but couldnt understand what will be the upload preset though.
If not , if and when that component would be introduced would be very helpful.
Hi all ,
text input which sets a
pdf viewer' 's
I cant understand what you meant . What i asked for was to be able to upload a pdf from the users side
so far in my knowledge you only can upload picture only. for file you need to think other way like java scrip or other external solution. it is frustration for me also.
PDF Reader accepts a URL so you can use this as an option.
Yes @muneer but what i want is for a user to be able to upload a pdf and i be able to show that.
See the following post
Yes @muneer i checked that post and by that i was able to get the name of the pdf file. But what i want is to get the contents or something which i can show in the pdf viewer while viewing
If you are allowing the user to browse a certain server folder and select a name then all what you need to do is to make the full URL from the server path that you already know and the selected file and this URL should be the URL of the
PDF Reader component of Thunkable.
But I am not doing this. He/she can browse anywhere
You will have to deal with a security issue. All new browsers restricts the path of the file to reduce the risk of malicious acts.
so basically any file can upload to cloud storage? cloudinary for example?
Media DB can only upload image files but the Cloudinary API can upload any file.
you can try this:
signature(rest api calls)
use file nameto true( use
folder(contains data of the
use file name(file name for
resourse type(type like
used more : visit docs
How to get the file string @super-coder
So @muneer is there any of just transferring the file content?
or is there no way of doing so unless thunkable makes this component?
what I was saying is docs of the cloudinary api
The API returns a JSON string which has the destination URL.