# Upload file (pdf) by user

**URL:** <https://community.thunkable.com/t/upload-file-pdf-by-user/260910>\
**Category:** Questions about Thunkable X\
**Tags:** file, cloudinary, upload, pdf\
**Created:** [October 7, 2019, 9:11am UTC](https://community.thunkable.com/t/upload-file-pdf-by-user/260910 "2019-10-07T09:11:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![farzam.parto](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/farzam.parto/32/32429_2.png) [@farzam.parto](https://community.thunkable.com/u/farzam.parto)\
**Post date:** [October 7, 2019, 9:11am UTC](https://community.thunkable.com/t/upload-file-pdf-by-user/260910/1 "2019-10-07T09:11:11Z")

</div>

Hello guys,  
I am in the process of creating an app for a client.  
There is a small problem, which is very necessary for my client, which is uploading files as .pdf via app.

**Let’s explain:**  
There are 3 buttons in the app.  
One of them takes pictures,  
The other one upload images from library  
And by pressing the last one, it should browse the files on the phone.  
So users will be able to choose **PDF** and upload it via Cloudinary.

Bu the problem is, there is no option to browse files in **Thunkable X** 🙄

I will be very grateful if any of you help me solve this problem.

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [October 7, 2019, 9:57am UTC](https://community.thunkable.com/t/upload-file-pdf-by-user/260910/2 "2019-10-07T09:57:07Z")

</div>

ScrFileViewer on the screen is an example that works in Live and install on Android. When installed on iOS example will not work, since it is not supported by the data URI.

[https://x.thunkable.com/projects/5d370bd8814895afb4300c50/project/properties/designer/](https://x.thunkable.com/projects/5d370bd8814895afb4300c50/project/properties/designer/)

If you know how to program, I can give a template with which you can use the Firebase run code in the above example on iOS.

---

<div class="post-metadata">

**Author:** ![farzam.parto](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/farzam.parto/32/32429_2.png) [@farzam.parto](https://community.thunkable.com/u/farzam.parto)\
**Post date:** [October 7, 2019, 10:38am UTC](https://community.thunkable.com/t/upload-file-pdf-by-user/260910/3 "2019-10-07T10:38:57Z")

</div>

Actually, it’s not what I’m looking for!  
I need an option to select and upload files through app not an external web page! (something just like photo library + upload component)  
The reason is because I have writing rules in my firebaseDB and user must be verify by auth. informations which have been stored in app.

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [June 2, 2020, 10:51am UTC](https://community.thunkable.com/t/upload-file-pdf-by-user/260910/5 "2020-06-02T10:51:30Z")

</div>

Do you have a specific example of this @jaythemanchs?

There’s no point in saying something like

> [@jaythemanchs](#):
>
> Actually you can.

If you don’t actually support that statement with a tutorial or community post.

You’ve been making quite a lot of posts like this in the community lately:

> [@Web Viewer crashing while loading image](http://community.thunkable.com/t/web-viewer-crashing-while-loading-image/590558/10):
>
> oh, ok. I will try to help

> [@Firebase login / signup with name age and other infos](http://community.thunkable.com/t/firebase-login-signup-with-name-age-and-other-infos/73424/21):
>
> Oh sorry, I could try some app like that.

> [@Please Help me! About paragraph](http://community.thunkable.com/t/please-help-me-about-paragraph/589287/6):
>
> I will send you the photo of the blocks needed.

The whole idea of the community is to help one another out. It’s not simply about replying to a post, you should be aiming to make a positive contribution to the other person’s project.

---

<div class="post-metadata">

**Author:** ![jaythemanchs](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jaythemanchs/32/92809_2.png) [@jaythemanchs](https://community.thunkable.com/u/jaythemanchs)\
**Post date:** [June 2, 2020, 8:50pm UTC](https://community.thunkable.com/t/upload-file-pdf-by-user/260910/6 "2020-06-02T20:50:33Z")

</div>

Actually you can.  
Well first of all you’re going to need a cloudinary account. You can use this widget here. [https://cloudinary.com/documentation/upload\_widget#quick\_example](https://cloudinary.com/documentation/upload_widget#quick_example) . You’ll need to put the code into an HTML file. But remember that you need to send the details to thunkable. I could give you the sample code if you want.

---

<div class="post-metadata">

**Author:** ![eddie.rebehy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eddie.rebehy/32/67993_2.png) [@eddie.rebehy](https://community.thunkable.com/u/eddie.rebehy)\
**Post date:** [September 14, 2020, 2:19am UTC](https://community.thunkable.com/t/upload-file-pdf-by-user/260910/7 "2020-09-14T02:19:49Z")

</div>

Hi @jaythemanchs

I have been playing around with this before I came accross this thread. I have successfully been able to host the widget html in my firebase storage and call its access token from inside Thunkable Web viewer.

After successful file upload, I am unsure how to send the cloudinary upload details to the Thunkable app. Is this what you have accomplished?

Edit: I have now been able to return the Cloudinary URL using the webviewer post message method. Not sure if you have a better solution.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:28am UTC](https://community.thunkable.com/t/upload-file-pdf-by-user/260910/8 "2024-11-08T11:28:47Z")

</div>


