# Webview, pdf, google drive

**URL:** https://community.glideapps.com/t/webview-pdf-google-drive/24161
**Category:** Ask for Help
**Created:** [March 12, 2021, 3:08pm UTC](https://community.glideapps.com/t/webview-pdf-google-drive/24161 "2021-03-12T15:08:46Z")
**Posts on this page:** 17
**Page:** 2

<div class="post-metadata">

### Author: ![abalsantana01](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/abalsantana01/32/26011_2.png) [@abalsantana01](https://community.glideapps.com/u/abalsantana01)
#### Post date: [April 15, 2021, 5:25pm UTC](https://community.glideapps.com/t/webview-pdf-google-drive/24161/21 "2021-04-15T17:25:30Z")

</div>

File Id in my Google Drive? I do not know

---

<div class="post-metadata">

### Author: ![Manu.n](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manu.n/32/11679_2.png) [@Manu.n](https://community.glideapps.com/u/Manu.n)
#### Post date: [April 15, 2021, 5:27pm UTC](https://community.glideapps.com/t/webview-pdf-google-drive/24161/22 "2021-04-15T17:27:57Z")

</div>

Ehmm  
It is true that in image, it displays only the first page or the whole pdf.  
But according to the video, the preview in the picture works?

For the webview, use the model as in FileUrl above.

---

<div class="post-metadata">

### Author: ![Manu.n](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manu.n/32/11679_2.png) [@Manu.n](https://community.glideapps.com/u/Manu.n)
#### Post date: [April 15, 2021, 5:33pm UTC](https://community.glideapps.com/t/webview-pdf-google-drive/24161/23 "2021-04-15T17:33:05Z")

</div>

For the file ID, you already have it

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/9/09ada0da8a1ac5641912ac09452d46cbdd1784f8.png)

it starts with 13pPn1Jq8W4…

In Google Drive, right click on the PDF file and choose Get Link

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/2/d29a031d11368095cddc4e46026be5aafe80d7ec.png)

---

<div class="post-metadata">

### Author: ![abalsantana01](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/abalsantana01/32/26011_2.png) [@abalsantana01](https://community.glideapps.com/u/abalsantana01)
#### Post date: [April 15, 2021, 5:36pm UTC](https://community.glideapps.com/t/webview-pdf-google-drive/24161/24 "2021-04-15T17:36:31Z")

</div>

Ok Manu, thank you very much. I will test here

---

<div class="post-metadata">

### Author: ![Manu.n](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manu.n/32/11679_2.png) [@Manu.n](https://community.glideapps.com/u/Manu.n)
#### Post date: [April 15, 2021, 5:37pm UTC](https://community.glideapps.com/t/webview-pdf-google-drive/24161/25 "2021-04-15T17:37:48Z")

</div>

If this does not work in Webview change the user permission to All

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/a/9a8ad7e14b5fe948f38c30df68f2778cfdfc8b9f.png)

---

<div class="post-metadata">

### Author: ![abalsantana01](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/abalsantana01/32/26011_2.png) [@abalsantana01](https://community.glideapps.com/u/abalsantana01)
#### Post date: [April 15, 2021, 5:55pm UTC](https://community.glideapps.com/t/webview-pdf-google-drive/24161/26 "2021-04-15T17:55:23Z")

</div>

What url is this FileNameURL?

---

<div class="post-metadata">

### Author: ![abalsantana01](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/abalsantana01/32/26011_2.png) [@abalsantana01](https://community.glideapps.com/u/abalsantana01)
#### Post date: [April 15, 2021, 6:00pm UTC](https://community.glideapps.com/t/webview-pdf-google-drive/24161/27 "2021-04-15T18:00:07Z")

</div>

I did not make it 😞

---

<div class="post-metadata">

### Author: ![abalsantana01](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/abalsantana01/32/26011_2.png) [@abalsantana01](https://community.glideapps.com/u/abalsantana01)
#### Post date: [April 15, 2021, 6:01pm UTC](https://community.glideapps.com/t/webview-pdf-google-drive/24161/28 "2021-04-15T18:01:21Z")

</div>

I did not succeed 😞

---

<div class="post-metadata">

### Author: ![Manu.n](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manu.n/32/11679_2.png) [@Manu.n](https://community.glideapps.com/u/Manu.n)
#### Post date: [April 15, 2021, 6:05pm UTC](https://community.glideapps.com/t/webview-pdf-google-drive/24161/29 "2021-04-15T18:05:23Z")

</div>

Here is my FileName URL column

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/f/0f66d6c6a12bac067622d6ec7ba511956534d658.png)

---

<div class="post-metadata">

### Author: ![abalsantana01](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/abalsantana01/32/26011_2.png) [@abalsantana01](https://community.glideapps.com/u/abalsantana01)
#### Post date: [April 15, 2021, 6:06pm UTC](https://community.glideapps.com/t/webview-pdf-google-drive/24161/30 "2021-04-15T18:06:04Z")

</div>

Thank you very much Manu.n! 👊

---

<div class="post-metadata">

### Author: ![Manu.n](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manu.n/32/11679_2.png) [@Manu.n](https://community.glideapps.com/u/Manu.n)
#### Post date: [April 15, 2021, 6:07pm UTC](https://community.glideapps.com/t/webview-pdf-google-drive/24161/31 "2021-04-15T18:07:07Z")

</div>

Even With

[https://docs.google.com/viewer?embedded=true&url=https://drive.google.com/uc?id=13pPn1Jq8W4](https://docs.google.com/viewer?embedded=true&url=https://drive.google.com/uc?id=13pPn1Jq8W4)…

---

<div class="post-metadata">

### Author: ![abalsantana01](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/abalsantana01/32/26011_2.png) [@abalsantana01](https://community.glideapps.com/u/abalsantana01)
#### Post date: [April 15, 2021, 6:14pm UTC](https://community.glideapps.com/t/webview-pdf-google-drive/24161/32 "2021-04-15T18:14:06Z")

</div>

yes

---

<div class="post-metadata">

### Author: ![Manu.n](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manu.n/32/11679_2.png) [@Manu.n](https://community.glideapps.com/u/Manu.n)
#### Post date: [April 15, 2021, 6:19pm UTC](https://community.glideapps.com/t/webview-pdf-google-drive/24161/33 "2021-04-15T18:19:00Z")

</div>

zut,  
a last test with this link

[https://docs.google.com/viewer?embedded=true&url=https://drive.google.com/uc?id=12kwM3oIINr-fG6G\_knLQ-aPQw7-w82YJ](https://docs.google.com/viewer?embedded=true&url=https://drive.google.com/uc?id=12kwM3oIINr-fG6G_knLQ-aPQw7-w82YJ)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/8/48f36b0e32b49c931412f2bafc22102abad10528.png)

EDIT :: be careful, the webview is sometimes capricious and is not always displayed  
sometimes you have to refresh the page

---

<div class="post-metadata">

### Author: ![abalsantana01](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/abalsantana01/32/26011_2.png) [@abalsantana01](https://community.glideapps.com/u/abalsantana01)
#### Post date: [April 17, 2021, 4:05am UTC](https://community.glideapps.com/t/webview-pdf-google-drive/24161/34 "2021-04-17T04:05:48Z")

</div>

Good night Manu.n. I did not answer because as I am new here so I used all the credits that day. Your link above did not open for me here.  
See [Video](https://drive.google.com/file/d/1UDN5IQI6i5T8E6R6JNYMirjQ1AoyLko8/view?usp=sharing)

---

<div class="post-metadata">

### Author: ![Manu.n](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manu.n/32/11679_2.png) [@Manu.n](https://community.glideapps.com/u/Manu.n)
#### Post date: [April 17, 2021, 6:30am UTC](https://community.glideapps.com/t/webview-pdf-google-drive/24161/35 "2021-04-17T06:30:19Z")

</div>

Hello,  
I do not understand why because your document works with me.

Free Application and button with a Open Web View action  
the adress is :

```
https://docs.google.com/viewer?embedded=true&url=https://drive.google.com/uc?id=13pPn1Jq8W49a8blf7xngHunxYtLH5k4D

```

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/a/8a51b88a718c91ecc21cbac5e70ccc0817cc86aa.png)

EDIT:  
I made a Test app for you, you can copy it :

> **[TestPdf](https://gorgeous-legs-0583.glideapp.io/)**

---

<div class="post-metadata">

### Author: ![abalsantana01](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/abalsantana01/32/26011_2.png) [@abalsantana01](https://community.glideapps.com/u/abalsantana01)
#### Post date: [April 17, 2021, 10:44pm UTC](https://community.glideapps.com/t/webview-pdf-google-drive/24161/36 "2021-04-17T22:44:19Z")

</div>

Hello Manu.n. It worked in the app. Occasionally does not open the pdf

---

<div class="post-metadata">

### Author: ![abalsantana01](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/abalsantana01/32/26011_2.png) [@abalsantana01](https://community.glideapps.com/u/abalsantana01)
#### Post date: [April 17, 2021, 10:45pm UTC](https://community.glideapps.com/t/webview-pdf-google-drive/24161/37 "2021-04-17T22:45:14Z")

</div>

Thank you very much!

[Previous page](https://community.glideapps.com/t/webview-pdf-google-drive/24161.md?page=1)
