PDFs in articles and Knowledge Base of documents

dgerlock
Tera Contributor

Newbie here and I'm getting frustrated and hoping I can find the help here that I need.  I'm trying to do 2 things:

 

1) Embed PDFs into knowledge articles from Documents/Documents.  Is there any way to either embed, link, or attach a PDF from Documents/Documents?

2) Create a KB for documents not necessarily creating articles first.  Is there a way to all access to Documents/Documents as a KB or some such thing in Service Portal or Knowledge Portal?

 

I may be missing something (or lots of things!) but is seems that even though you can upload PDFs but not be able to access them for general use.

 

Thanks!!

1 ACCEPTED SOLUTION

Dave Littlejohn
Tera Guru

For viewing the pdf within the knowledge article, we've attached the pdf to the knowledge article and then used the following html code and replaced the sys_id with the attachment's sys_id:

<p><iframe src="/$viewer.do?sysparm_stack=no&amp;sysparm_sys_id=5f6493b31b6fe5149e4e8663cc4bcb6e" width="100%" height="1000" allowfullscreen="allowfullscreen"></iframe></p>

 

View solution in original post

15 REPLIES 15

I have used it to hold many different types of files, powerpoints, excel, word and PDF. when i use "link to knowledge" and open the article in an incident for example, it generates a preview of the article. if I open from the knowledge homepge, i download the file.

Yeah, apparently, I missed that "link to knowledge" step every single time!!!  We'd only use Managed Documents as a repository and maybe e-sig (in the future) as all our reviews are done collaboratively and that doesn't work in Managed Documents.  

Dave Littlejohn
Tera Guru

For viewing the pdf within the knowledge article, we've attached the pdf to the knowledge article and then used the following html code and replaced the sys_id with the attachment's sys_id:

<p><iframe src="/$viewer.do?sysparm_stack=no&amp;sysparm_sys_id=5f6493b31b6fe5149e4e8663cc4bcb6e" width="100%" height="1000" allowfullscreen="allowfullscreen"></iframe></p>

 

Hello, 

 

I don't understand why when I save my article your html code change and became this : 


<p><iframe width="100%" height="1000" allowfullscreen="allowfullscreen"></iframe></p>

 

What am I missing ? 

Morning.  Mine was doing that too and if I remember correctly, the devs had to whitelist the iframe so it ran correctly.