You can use the Embed Media tool to embed a PDF that you have uploaded to IT Glue.
- Within your document, upload the PDF into the Attachments area. Learn more about attaching files.
- Right-click the name of the file and click on Inspect.
- In the Inspect Element, the <a> target attribute will be highlighted. Right-click on the link in the href attribute and click Copy link address.
- Create a new Text content block.
- Click the Embed Media icon and embed the HTML code in an iframe that points to the PDF URL you noted in step 3.
<span class="wysiwyg-font-size-small"><strong><iframe src="</strong>https://mycompany.itglue.com/attachments/1184302?preview=1<strong>" width="100%" height="900px" frameborder="0"></iframe></strong></span>
- Click the checkmark to see the PDF displayed in the newly created iframe.
- Publish the document, and that should now let your team view the scrollable PDF in the same part of screen as the one they'll be reading other information in. The PDF will also display in the public version of the document as long as the browser supports it.
Within the viewer, you can zoom in/out, scroll, and rotate the page orientation. You can also print and download the PDF.
Embedding PDFs that are not stored in IT Glue
Google Drive offers a feature that will let you embed a PDF not stored in IT Glue. The files don't have to be uploaded to Google Drive. You just need to have published your PDF document somewhere on the web so you can get the URL of the stored document. Keep in mind that only files under 25 MB can be previewed with the Google Drive viewer.
All Google Drive viewer URLs will use the path http://docs.google.com/viewer. Your URL then becomes http://docs.google.com/viewer?url=yourURLhere. Since the path accepts an embed parameter, you can embed the PDF viewer in your document with iframes.
For example, if you wanted to view the PDF at
you would construct the URL to the embedded viewer like so:
To use this method to embed a PDF, you just place your URL in an iframe element using the following opening and closing tags and this automatically embeds the viewer in your document:
<strong><iframe src="http://docs.google.com/viewer?url=</strong>yourURLhere<strong>&embedded=true" width="100%" height="900px" frameborder="0"></iframe></strong>
Your embedded file now displays in your IT Glue document with Google Drive viewing tools.
Note: We do not provide support or troubleshooting for third-party viewing tools. For help using Google Drive tools, refer to Google's help documentation.
When Chrome won't display your iframe
Iframes may work fine in certain browsers but will often get blocked when using Chrome. There's an easy fix to this.
This happens because the iframe is from a source other than that of the https page. The person who loads the https page with blocked mixed content will need look for the security iconin the address bar of their Chrome browser and click on it. Choosing the hyperlink to "Load unsafe script" will display the iframe.
For documents that you make public, you can also point the user to an http URL instead of https to avoid this warning. As always, make sure that you have the correct URL in your iframe to prevent malicious scripts from running in the browser.
IT Glue doesn’t prevent you from displaying content inside an iframe, though for security reasons, we do not allow your iframe to contain any <script> tags.