# Displaying a PDF

**URL:** <https://community.glideapps.com/t/displaying-a-pdf/76758>\
**Category:** Ask for Help\
**Created:** [October 2, 2024, 2:13pm UTC](https://community.glideapps.com/t/displaying-a-pdf/76758 "2024-10-02T14:13:37Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![meganb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/meganb/32/16632_2.png) [@meganb](https://community.glideapps.com/u/meganb)\
**Post date:** [October 2, 2024, 2:13pm UTC](https://community.glideapps.com/t/displaying-a-pdf/76758/1 "2024-10-02T14:13:37Z")

</div>

I want to display a pdf, and in searching Glide’s official help docs and the community, I started to add the urlbox integration, but it looks like this would require me to have a paid subscription to another platform. Is there another way to display a pdf where I don’t have to pay for something else?

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [October 2, 2024, 2:26pm UTC](https://community.glideapps.com/t/displaying-a-pdf/76758/2 "2024-10-02T14:26:20Z")

</div>

Have you tried using the web-embed component?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [October 3, 2024, 12:27am UTC](https://community.glideapps.com/t/displaying-a-pdf/76758/3 "2024-10-03T00:27:48Z")

</div>

Where are you storing your PDF?

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [May 9, 2025, 10:33pm UTC](https://community.glideapps.com/t/displaying-a-pdf/76758/4 "2025-05-09T22:33:08Z")

</div>

I find the web embed component is hit and miss to display a PDF inside the application.

Alternatives:

1. Turn the PDF into individual images and turn this into a carousel. I find this cumbersome and not realistic in my use case where I’m uploading many PDFs that represent Powerpoint presentations.

2. Upload one image (such as the first page of the PDF) and bind an `Open link` action. Pointing to the PDF works well, the user experience is nice. But the PDF is not actually embedded inside the Glide app.

3. I tried with the custom AI component, unsuccessfully.

I’m curious what others are doing to display PDFs inside their apps.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [May 9, 2025, 11:47pm UTC](https://community.glideapps.com/t/displaying-a-pdf/76758/5 "2025-05-09T23:47:46Z")

</div>

> [@nathanaelb](#):
>
> I’m curious what others are doing to display PDFs inside their apps.

I use the Web Embed.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [May 10, 2025, 1:10am UTC](https://community.glideapps.com/t/displaying-a-pdf/76758/6 "2025-05-10T01:10:49Z")

</div>

Why do you think the web embed component is hit & miss? On which devices is it not working?

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [May 10, 2025, 9:08am UTC](https://community.glideapps.com/t/displaying-a-pdf/76758/7 "2025-05-10T09:08:40Z")

</div>

I can load an MP4 or image without any issue with the web embed component, however with a PDF in the specific instance I’m testing, I noticed the file does not load on mobile yet loads fine on my laptop.

**Mobile**

The file name is displayed but the file name doesn’t not load. The user needs to click on “Open” and the file name is URL encoded, which makes it appear like an error message.

 ![WhatsApp Image 2025-05-10 at 10.56.18](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/0/d0c8b3150b1b43233385b7c3928bcdfc3ff07c29.jpeg)

**Desktop / Laptop**

 ![Screenshot 2025-05-10 at 11.03.05](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/f/df1f39a69a08d73d308b5ebf5ca5302cd2ce551e.jpeg)

You’ve never had this? It could be because of the size of the PDF file, but I cannot change the PDF file.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [May 10, 2025, 1:44pm UTC](https://community.glideapps.com/t/displaying-a-pdf/76758/8 "2025-05-10T13:44:37Z")

</div>

I don’t think I have seen this behavior before. The worst I have had on iOS with web embed is them only showing the first page and not scrollable, but I have fixes in place for that with this template.

```auto
https://drive.google.com/viewerng/viewer?embedded=true&url=[insert your PDF URL here]

```

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [May 10, 2025, 3:50pm UTC](https://community.glideapps.com/t/displaying-a-pdf/76758/9 "2025-05-10T15:50:01Z")

</div>

I’ll try that, thanks a ton.

I’m curious, how did you come up with the code? Forums, or did you ask an AI by describing your issue?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [May 11, 2025, 12:31am UTC](https://community.glideapps.com/t/displaying-a-pdf/76758/10 "2025-05-11T00:31:44Z")

</div>

I think I got it from Stackoverflow. It was a very long time ago.
