# PDF Upload and visualization

**URL:** <https://community.thunkable.com/t/pdf-upload-and-visualization/590902>\
**Category:** Questions about Thunkable X\
**Tags:** webviewer, pdf\
**Created:** [June 2, 2020, 8:54am UTC](https://community.thunkable.com/t/pdf-upload-and-visualization/590902 "2020-06-02T08:54:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wikilinks.infooleua0](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/wikilinks.infooleua0/32/68594_2.png) [@wikilinks.infooleua0](https://community.thunkable.com/u/wikilinks.infooleua0)\
**Post date:** [June 2, 2020, 8:54am UTC](https://community.thunkable.com/t/pdf-upload-and-visualization/590902/1 "2020-06-02T08:54:39Z")

</div>

Hi everyone,  
I have a similar issue to the one described in this topic: [Upload file (pdf) by user](http://community.thunkable.com/t/upload-file-pdf-by-user/260910)

as for @farzam.parto, by pressing a button, my app should browse the files on the phone.  
So users will be able to choose **PDF** and upload it via Cloudinary.

I may have found a workaraound, by using a web viewer, I open this webiste

> **[Visualizzare i PDF e gli altri file online - 100% gratuito](https://tools.pdf24.org/it/visualizza-pdf)**
>
> Strumento online gratuito per visualizzare PDF e altri file. Supporta molti formati di file. Senza installazione. Senza registrazione.

That allows me to upload a PDF and to view it, but unfortunately, I’m not able to store the link of the displayed PDF in Firebase or Cloudinary since the web viewer does not allow me to read the current URL.

Here some pics of the Page and the code.  
When “Carica” is pressed it should read the URL of the file I uploaded but the function Get Url of Web Viewer 3 returns always the link of the website and not the link of the file.

Are there other ways to obtain the same result?  
Or I have to wait for the web Viewer to be improved?

 ![Screenshot 2020-06-02 at 10.48.12](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/3/f3e47f764755310213eb3d60a7cbbc7cd4a87c8a.png)

 ![Screenshot 2020-06-02 at 10.48.34](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/6/760fd845584bc3265564021a8268ebe09aeb3db5.png)

---

<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 29, 2020, 4:24pm UTC](https://community.thunkable.com/t/pdf-upload-and-visualization/590902/2 "2020-06-29T16:24:01Z")

</div>

> [@wikilinks.infooleua0](#):
>
> the web viewer does not allow me to read the current URL.

Hi @wikilinks.infooleua0 are you using your own site to upload this?

If so then you can use the [post and receive](https://docs.thunkable.com/web-viewer#post-message-receive-message) blocks to handle this for you?

---

<div class="post-metadata">

**Author:** ![wikilinks.infooleua0](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/wikilinks.infooleua0/32/68594_2.png) [@wikilinks.infooleua0](https://community.thunkable.com/u/wikilinks.infooleua0)\
**Post date:** [July 1, 2020, 5:20am UTC](https://community.thunkable.com/t/pdf-upload-and-visualization/590902/3 "2020-07-01T05:20:42Z")

</div>

Thanks, I’ll try it and let you know !

---

<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:25am UTC](https://community.thunkable.com/t/pdf-upload-and-visualization/590902/4 "2024-11-08T11:25:12Z")

</div>


