Embed a PDF on a page or in an article

PDFs can be embedded into Pages, News, or Knowledge Base articles.

Files will need to be uploaded in the Documents application first.

A new folder could be created in your directory for these articles specifically, where all the relevant PDFs are uploaded and make these easy to find when creating new articles. 



To embed on a page:
 

1. Upload the PDF to the documents application

 

2. Navigate to your chosen page and click the pencil icon to edit it

3. Click in any whitespace so the components list appears and choose 'Embed'

 

4. Select the 'document' option in the component

5. Click on the 'select document' button that appears


 

6. Use the pop-up to find the file you wish to embed in your documents directory and click 'select' in line with it

 

7. Click 'submit' in the embed component

 

8. The file will now appear in the component. Resize this to your liking

8. Publish the page to save the changes

 


To embed in an article:
 

1. Upload the PDF to the documents application


2. Locate and copy the document ID generated by the Intranet in the URL

The document ID for the example PDF is highlighted above, '39'.

(The number given before this in the URL relates to the folder the PDF is in, but this number is not needed for embedding, only the document ID at the end)
 

3. Edit the embed code (below) to include the Document ID (red number)

<iframe name="previewIframe" src="/intranet/documents/preview.php?doc_id=213" style="width:100%; height:500px;" frameborder="0"></iframe>


4. Navigate to your page, KB or News article and edit it or create a new one

5. Fill out the title, category, metadata etc as appropriate

6. Click the 'source' tab and paste the edited embed code:

 

7. When the article is saved as a draft or published, the document is now embedded in the article body

 

8. Repeat as necessary! Edit the embed code to reflect each document's unique ID in order to pull it through correctly
 

Created on 16 May 2025 by Hannah Door. Last modified on 18 September 2025

4464 Views   

Share