# PDF Viewer Widget

**URL:** <https://www.epiusers.help/t/pdf-viewer-widget/99029>\
**Category:** Kinetic ERP\
**Created:** [February 1, 2023, 8:12pm UTC](https://www.epiusers.help/t/pdf-viewer-widget/99029 "2023-02-01T20:12:42Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ridgea](https://www.epiusers.help/user_avatar/www.epiusers.help/ridgea/32/45082_2.png) [@ridgea](https://www.epiusers.help/u/ridgea)\
**Post date:** [February 1, 2023, 8:12pm UTC](https://www.epiusers.help/t/pdf-viewer-widget/99029/1 "2023-02-01T20:12:42Z")

</div>

Has anyone had any luck with the PDF viewer widget ?

Tried serving it up with a blob , base64 &  
& filepath without any success.

---

<div class="post-metadata">

**Author:** ![hmwillett](https://www.epiusers.help/user_avatar/www.epiusers.help/hmwillett/32/93207_2.png) [@hmwillett](https://www.epiusers.help/u/hmwillett)\
**Post date:** [February 1, 2023, 9:48pm UTC](https://www.epiusers.help/t/pdf-viewer-widget/99029/2 "2023-02-01T21:48:47Z")

</div>

So far, I’ve only gotten it to load a PDF using the open button–nothing automated. I’ll poke around some more tomorrow.

---

<div class="post-metadata">

**Author:** ![ckrusen](https://www.epiusers.help/user_avatar/www.epiusers.help/ckrusen/32/50584_2.png) [@ckrusen](https://www.epiusers.help/u/ckrusen)\
**Post date:** [February 1, 2023, 9:51pm UTC](https://www.epiusers.help/t/pdf-viewer-widget/99029/3 "2023-02-01T21:51:07Z")

</div>

What about that one…

![image](https://www.epiusers.help/uploads/default/original/3X/1/5/1581ad042fc164bf7b785d3f33091db28230b534.png)

---

<div class="post-metadata">

**Author:** ![hmwillett](https://www.epiusers.help/user_avatar/www.epiusers.help/hmwillett/32/93207_2.png) [@hmwillett](https://www.epiusers.help/u/hmwillett)\
**Post date:** [February 1, 2023, 9:51pm UTC](https://www.epiusers.help/t/pdf-viewer-widget/99029/4 "2023-02-01T21:51:43Z")

</div>

That downloads… Which would be useful if I got it to load PDFs from, well, NOT my computer, lol.

---

<div class="post-metadata">

**Author:** ![ridgea](https://www.epiusers.help/user_avatar/www.epiusers.help/ridgea/32/45082_2.png) [@ridgea](https://www.epiusers.help/u/ridgea)\
**Post date:** [February 1, 2023, 10:34pm UTC](https://www.epiusers.help/t/pdf-viewer-widget/99029/5 "2023-02-01T22:34:32Z")

</div>

Thanks @hmwillett , I had a little inspect of it however it’s really does not give too much away other than it utilises a ngx-extended-viewer.

Doesn’t seem to give away much in the preview / response.

Only documentation I’ve managed to find close:  
[https://pdfviewer.net/extended-pdf-viewer/simple](https://pdfviewer.net/extended-pdf-viewer/simple)

---

<div class="post-metadata">

**Author:** ![hmwillett](https://www.epiusers.help/user_avatar/www.epiusers.help/hmwillett/32/93207_2.png) [@hmwillett](https://www.epiusers.help/u/hmwillett)\
**Post date:** [February 2, 2023, 6:18pm UTC](https://www.epiusers.help/t/pdf-viewer-widget/99029/6 "2023-02-02T18:18:43Z")

</div>

Yeah, that’s about as far as I got too.  
It would be nice to see how this widget was built because it seems like we would need access to the “src” property in order to dynamically load PDFs in Kinetic. I was hoping the epBinding would do that, but it doesn’t seem to be the case.

---

<div class="post-metadata">

**Author:** ![hmwillett](https://www.epiusers.help/user_avatar/www.epiusers.help/hmwillett/32/93207_2.png) [@hmwillett](https://www.epiusers.help/u/hmwillett)\
**Post date:** [February 2, 2023, 7:21pm UTC](https://www.epiusers.help/t/pdf-viewer-widget/99029/7 "2023-02-02T19:21:18Z")

</div>

> [@ridgea](#):
>
> ngx-extended-viewer

Well, this is kind of neat. If the PDF has form fields, you can set the epBinding of the pdf-viewer to an empty dataview and it will load the fields for use if needed.

 ![image](https://www.epiusers.help/uploads/default/original/3X/8/a/8af38ea6771bb929898e0fc3c3ea65eeb3921f90.png)

---

<div class="post-metadata">

**Author:** ![jkane](https://www.epiusers.help/user_avatar/www.epiusers.help/jkane/32/57624_2.png) [@jkane](https://www.epiusers.help/u/jkane)\
**Post date:** [February 2, 2023, 7:34pm UTC](https://www.epiusers.help/t/pdf-viewer-widget/99029/8 "2023-02-02T19:34:49Z")

</div>

Is that because of the new Dynamic Forms?

---

<div class="post-metadata">

**Author:** ![ridgea](https://www.epiusers.help/user_avatar/www.epiusers.help/ridgea/32/45082_2.png) [@ridgea](https://www.epiusers.help/u/ridgea)\
**Post date:** [February 2, 2023, 8:25pm UTC](https://www.epiusers.help/t/pdf-viewer-widget/99029/9 "2023-02-02T20:25:19Z")

</div>

Nice work as always @hmwillett

---

<div class="post-metadata">

**Author:** ![ckrusen](https://www.epiusers.help/user_avatar/www.epiusers.help/ckrusen/32/50584_2.png) [@ckrusen](https://www.epiusers.help/u/ckrusen)\
**Post date:** [February 2, 2023, 8:34pm UTC](https://www.epiusers.help/t/pdf-viewer-widget/99029/10 "2023-02-02T20:34:17Z")

</div>

So you could (in development mode):

1. Make a fillable PDF to act as a template
2. Upload that PDF to the form
3. Bind the fillable fields to dataset fields

Then during runtime, the user could click the download icon, and they would be served the template PDF with the fillable fields pre-filled? Or does it serve a regular PDF (without fillable fields), but with the bound (or is it “binded”?) data “hardcoded” into the PDF?

Or C. “None of the Above”

---

<div class="post-metadata">

**Author:** ![hmwillett](https://www.epiusers.help/user_avatar/www.epiusers.help/hmwillett/32/93207_2.png) [@hmwillett](https://www.epiusers.help/u/hmwillett)\
**Post date:** [February 2, 2023, 8:38pm UTC](https://www.epiusers.help/t/pdf-viewer-widget/99029/11 "2023-02-02T20:38:34Z")

</div>

> [@ckrusen](#):
>
> Bind the fillable fields to dataset fields

Would need to do more testing. It auto-generated the column names (sq\_104, sq\_105). I would need to do some more testing to see how/if those change each time.  
In theory, it sounds like that should work.

---

<div class="post-metadata">

**Author:** ![ckrusen](https://www.epiusers.help/user_avatar/www.epiusers.help/ckrusen/32/50584_2.png) [@ckrusen](https://www.epiusers.help/u/ckrusen)\
**Post date:** [February 2, 2023, 8:41pm UTC](https://www.epiusers.help/t/pdf-viewer-widget/99029/12 "2023-02-02T20:41:16Z")

</div>

> [@hmwillett](#):
>
> In theory, it sounds like that should work.

Is that even the intent of the functionality?

> **Or is it still a mystery.....**
>
> 👻

---

<div class="post-metadata">

**Author:** ![klincecum](https://www.epiusers.help/user_avatar/www.epiusers.help/klincecum/32/100137_2.png) [@klincecum](https://www.epiusers.help/u/klincecum)\
**Post date:** [February 3, 2023, 1:05am UTC](https://www.epiusers.help/t/pdf-viewer-widget/99029/13 "2023-02-03T01:05:48Z")

</div>

I couldn’t even see the epibinding on it. Not sure what I’m doing wrong.

---

<div class="post-metadata">

**Author:** ![hmwillett](https://www.epiusers.help/user_avatar/www.epiusers.help/hmwillett/32/93207_2.png) [@hmwillett](https://www.epiusers.help/u/hmwillett)\
**Post date:** [February 3, 2023, 1:09am UTC](https://www.epiusers.help/t/pdf-viewer-widget/99029/14 "2023-02-03T01:09:52Z")

</div>

> [@klincecum](#):
>
> couldn’t even see

Here, you dropped these: 👀

![joking just kidding GIF by RuPaul's Drag Race](https://media1.giphy.com/media/3o7TKoZJUOWB5BCSyI/giphy.webp?cid=e90edba36ux4spc741n1dvaf8jdn7zdxjkspmxeipkrcja4z&rid=giphy.webp&ct=g)

Edit: don’t you shrug at me! That was comedic gold. GOLD!

---

<div class="post-metadata">

**Author:** ![hmwillett](https://www.epiusers.help/user_avatar/www.epiusers.help/hmwillett/32/93207_2.png) [@hmwillett](https://www.epiusers.help/u/hmwillett)\
**Post date:** [February 3, 2023, 1:52pm UTC](https://www.epiusers.help/t/pdf-viewer-widget/99029/15 "2023-02-03T13:52:40Z")

</div>

> [@ckrusen](#):
>
> 1. Make a fillable PDF to act as a template
> 2. Upload that PDF to the form
> 3. Bind the fillable fields to dataset fields
> 
> Then during runtime, the user could click the download icon, and they would be served the template PDF with the fillable fields pre-filled?

Spot on!

![PDFViewer](https://www.epiusers.help/uploads/default/original/3X/7/7/774d6d2cb9f07bfce32b43e16fcf85f54e1e530a.gif)

---

<div class="post-metadata">

**Author:** ![utaylor](https://www.epiusers.help/user_avatar/www.epiusers.help/utaylor/32/64664_2.png) [@utaylor](https://www.epiusers.help/u/utaylor)\
**Post date:** [February 3, 2023, 3:35pm UTC](https://www.epiusers.help/t/pdf-viewer-widget/99029/16 "2023-02-03T15:35:52Z")

</div>

You are wylin’ @hmwillett .

Every time I check out a kinetic interface thread you are on, I see something so surreal.

---

<div class="post-metadata">

**Author:** ![ckrusen](https://www.epiusers.help/user_avatar/www.epiusers.help/ckrusen/32/50584_2.png) [@ckrusen](https://www.epiusers.help/u/ckrusen)\
**Post date:** [February 3, 2023, 4:02pm UTC](https://www.epiusers.help/t/pdf-viewer-widget/99029/17 "2023-02-03T16:02:24Z")

</div>

But it looks like it serves up a fillable PDF. Which would let the recipient make edits.

Any thoughts on how the downloaded PDF could be made read-only?  
(as much as an unsecured PDF can be)

---

<div class="post-metadata">

**Author:** ![jkane](https://www.epiusers.help/user_avatar/www.epiusers.help/jkane/32/57624_2.png) [@jkane](https://www.epiusers.help/u/jkane)\
**Post date:** [February 3, 2023, 4:40pm UTC](https://www.epiusers.help/t/pdf-viewer-widget/99029/18 "2023-02-03T16:40:12Z")

</div>

I believe this is all related to Dynamic Documents.

[Using Dynamic Documents – Kinetic 2022.2 (epicor.com)](https://kinetichelp222.epicor.com/hc/en-us/articles/9682995048973-Using-Dynamic-Documents)

---

<div class="post-metadata">

**Author:** ![hmwillett](https://www.epiusers.help/user_avatar/www.epiusers.help/hmwillett/32/93207_2.png) [@hmwillett](https://www.epiusers.help/u/hmwillett)\
**Post date:** [February 3, 2023, 4:44pm UTC](https://www.epiusers.help/t/pdf-viewer-widget/99029/19 "2023-02-03T16:44:00Z")

</div>

Based on my digging and the only module I found to be using the pdf-viewer widget was the “Production Instructions” referenced in that help file, I would say you are correct, sir.

Sadly, we do not have that module, so I can look into those further. 🤷🏻‍♀️

---

<div class="post-metadata">

**Author:** ![jkane](https://www.epiusers.help/user_avatar/www.epiusers.help/jkane/32/57624_2.png) [@jkane](https://www.epiusers.help/u/jkane)\
**Post date:** [February 3, 2023, 4:46pm UTC](https://www.epiusers.help/t/pdf-viewer-widget/99029/20 "2023-02-03T16:46:37Z")

</div>

I’ll give you access to my environment so you can keep on digging! 😆

[Next page](https://www.epiusers.help/t/pdf-viewer-widget/99029.md?page=2)
