# Using PDF in the app

**URL:** <https://community.glideapps.com/t/using-pdf-in-the-app/4957>\
**Category:** Feature Requests\
**Created:** [February 26, 2020, 7:19pm UTC](https://community.glideapps.com/t/using-pdf-in-the-app/4957 "2020-02-26T19:19:51Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prabhjot\_Bedi](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/prabhjot_bedi/32/3020_2.png) [@Prabhjot\_Bedi](https://community.glideapps.com/u/Prabhjot_Bedi)\
**Post date:** [February 26, 2020, 7:19pm UTC](https://community.glideapps.com/t/using-pdf-in-the-app/4957/1 "2020-02-26T19:19:51Z")

</div>

hi!

Can we upload / use pdfs in the apps?

I read some previous posts that it is possible using ‘image’ but its not working on my app.

Pb

---

<div class="post-metadata">

**Author:** ![George\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/george_b/32/534_2.png) [@George\_B](https://community.glideapps.com/u/George_B)\
**Post date:** [February 26, 2020, 8:04pm UTC](https://community.glideapps.com/t/using-pdf-in-the-app/4957/2 "2020-02-26T20:04:11Z")

</div>

You can upload them to Google Drive, share them, and just put the URL into a cell. The set it up as a link. Whatever default PDF reader on the device will open them up. I do it that way in an app I wrote.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [February 26, 2020, 8:22pm UTC](https://community.glideapps.com/t/using-pdf-in-the-app/4957/3 "2020-02-26T20:22:18Z")

</div>

Also JUST read that you can use Cloudinary to create a thumbnail image from a PDF link. I’ll create a demo!

[https://cloudinary.com/cookbook/tag/pdf](https://cloudinary.com/cookbook/tag/pdf)

---

<div class="post-metadata">

**Author:** ![Prabhjot\_Bedi](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/prabhjot_bedi/32/3020_2.png) [@Prabhjot\_Bedi](https://community.glideapps.com/u/Prabhjot_Bedi)\
**Post date:** [February 26, 2020, 8:24pm UTC](https://community.glideapps.com/t/using-pdf-in-the-app/4957/4 "2020-02-26T20:24:08Z")

</div>

dropbox link doesn’t work?

---

<div class="post-metadata">

**Author:** ![George\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/george_b/32/534_2.png) [@George\_B](https://community.glideapps.com/u/George_B)\
**Post date:** [February 26, 2020, 8:33pm UTC](https://community.glideapps.com/t/using-pdf-in-the-app/4957/5 "2020-02-26T20:33:27Z")

</div>

Have you tried it? The dropbox link I mean.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [February 26, 2020, 8:34pm UTC](https://community.glideapps.com/t/using-pdf-in-the-app/4957/6 "2020-02-26T20:34:20Z")

</div>

## Using Cloudinary to generate a thumb from your PDF and display in Glide:

1. Upload a PDF to Cloudinary
2. Insert PDF link in Google Sheets  
 ![Screen Shot 2020-02-26 at 3.32.28 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/5/534f1affaf1ee9fbc9d9a04939bf62e9474326e8.png)
3. Replace .pdf with .png (or .jpeg) manually or via formula  
 ![Screen Shot 2020-02-26 at 3.32.54 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/4/4c9cad9cd22bef1d418d93c4e98cd942d035ebaf.png)
4. Create a component that displays the image and links to the PDF  
 ![Screen Shot 2020-02-26 at 3.33.32 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/0/0025bce98c9b1e3520ec1ca0d95920b5d4127368.png) ![Screen Shot 2020-02-26 at 3.33.41 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/8/892d07ad988380f9e16c5d130146bcd96e50f6ce.png)

---

<div class="post-metadata">

**Author:** ![Prabhjot\_Bedi](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/prabhjot_bedi/32/3020_2.png) [@Prabhjot\_Bedi](https://community.glideapps.com/u/Prabhjot_Bedi)\
**Post date:** [February 26, 2020, 8:44pm UTC](https://community.glideapps.com/t/using-pdf-in-the-app/4957/7 "2020-02-26T20:44:32Z")

</div>

I did. It did not convert to an image and tapping it did nothing on the app

---

<div class="post-metadata">

**Author:** ![George\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/george_b/32/534_2.png) [@George\_B](https://community.glideapps.com/u/George_B)\
**Post date:** [February 26, 2020, 8:48pm UTC](https://community.glideapps.com/t/using-pdf-in-the-app/4957/8 "2020-02-26T20:48:32Z")

</div>

I don’t use Dropbox for that so I guess not. If you copy the dropbox link into an incognito Chrome browser can you view it? If not then I guess that is your answer. The only other thing I can think of is permissions. Have you set it up to be shared with anyone?

---

<div class="post-metadata">

**Author:** ![Prabhjot\_Bedi](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/prabhjot_bedi/32/3020_2.png) [@Prabhjot\_Bedi](https://community.glideapps.com/u/Prabhjot_Bedi)\
**Post date:** [February 26, 2020, 8:49pm UTC](https://community.glideapps.com/t/using-pdf-in-the-app/4957/9 "2020-02-26T20:49:44Z")

</div>

works like a charm!  
Thank you soo much!

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [February 27, 2020, 6:48pm UTC](https://community.glideapps.com/t/using-pdf-in-the-app/4957/10 "2020-02-27T18:48:38Z")

</div>

If I recall correctly, Glide will natively generate a thumbnail for PDF url’s that are used as an image url. I have tiles and images set up that just use the PDF url, and the image is automatically created. I don’t have a separate image column in this case.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/9/90c0fef58335866f8e79f566b6da780e9792f716.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/c/c93b050d9ae54276c7a8c8865872a5eacba7f9d9.png)

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [February 27, 2020, 7:33pm UTC](https://community.glideapps.com/t/using-pdf-in-the-app/4957/11 "2020-02-27T19:33:03Z")

</div>

You know…I didn’t even try this lol.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [February 27, 2020, 7:46pm UTC](https://community.glideapps.com/t/using-pdf-in-the-app/4957/12 "2020-02-27T19:46:04Z")

</div>

Hehe, even Glide didn’t know it was possible when it was originally discovered. That’s how good they are. 😉

---

<div class="post-metadata">

**Author:** ![david\_ngo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david_ngo/32/128_2.png) [@david\_ngo](https://community.glideapps.com/u/david_ngo)\
**Post date:** [July 17, 2020, 12:20pm UTC](https://community.glideapps.com/t/using-pdf-in-the-app/4957/13 "2020-07-17T12:20:30Z")

</div>

Do we have an answer to your question?

The big need is permissions to specific users (the logged in user) and preventing any user with the URL to view it.

---

<div class="post-metadata">

**Author:** ![Glider](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/glider/32/9699_2.png) [@Glider](https://community.glideapps.com/u/Glider)\
**Post date:** [July 17, 2020, 10:12pm UTC](https://community.glideapps.com/t/using-pdf-in-the-app/4957/14 "2020-07-17T22:12:38Z")

</div>

use a file picker for users to upload files  
then use webview with the link from the file(glide creates one)  
make the button for webview only visible to some users

---

<div class="post-metadata">

**Author:** ![Clement\_Walter](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/clement_walter/32/23938_2.png) [@Clement\_Walter](https://community.glideapps.com/u/Clement_Walter)\
**Post date:** [May 18, 2021, 1:37pm UTC](https://community.glideapps.com/t/using-pdf-in-the-app/4957/15 "2021-05-18T13:37:40Z")

</div>

I think this question is best addressed with creating a s3 bucket (google, aws, msft, ibm, …) and then dropping the file in it.

This way you can:

- control permission and select who can have access to the file
- have a direct link to the pdf (like cloudinary, unlike dropbox)
- path the way to an external backend if your application someday requires it.

You don’t have to code to create and populate such a bucket, it should be free or almost for a couples of doc.

---

<div class="post-metadata">

**Author:** ![Miko](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/miko/32/28521_2.png) [@Miko](https://community.glideapps.com/u/Miko)\
**Post date:** [August 4, 2021, 2:42am UTC](https://community.glideapps.com/t/using-pdf-in-the-app/4957/16 "2021-08-04T02:42:14Z")

</div>

Can you further expound on how to achieve this? When attempting to link/browse to my .pdf file (in a dedicate “Image” formatted GlideTable column/cell) the link does not populate in the cell/the image is not populated within the app.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [August 4, 2021, 2:45pm UTC](https://community.glideapps.com/t/using-pdf-in-the-app/4957/17 "2021-08-04T14:45:02Z")

</div>

You can’t view an entire PDF using an image component, but sometimes a preview image of the first page is generated in an image component, or when the image setting of a list, for example, is pointed to a column that contains a pdf url.

I do not recall ever trying this with a column that is set as an image column. Most likely, it was set as only a text column.

You would still need an open link or open web view action to view the pdf since it’s not an actual image.

Also make sure that your url is https instead of http.
