Is there a way to embed a pdf file to a page so I can scroll through it without having to open it?
Hi Anthony,
You will currently be able to use the PDF Macro to embed PDF files within a page and view them.
Please be advised this will be removed in future releases.
Let us know if you have any questions!
Kind Regards,
Shannon
Why does the macro still exist but not let me use it?
Hello Topher,
Welcome to Atlassian Community! Thank you for contacting us.
You should still be able to use the PDF Macro at this time. If you are having any issues with it, please elaborate on that so we can help you to solve your issue.
I wanted to let you know more about why I told Anthony that the macro would eventually be deprecated.
The PDF Macro is part of the View File Macro, which is the macro in Confluence Server that allows users to preview file attachments within Confluence.
We had previously made a decision to deprecate that macro (see CONFSERVER-39829 Plans to remove the view file macros).
However, as of 22 January 2019, we reversed that decision:
End of Support Announcements for Confluence
Update 22 January 2019We know from your feedback that the existing View File macros provide important functionality that the newer file upload and preview experience does not. For this reason, we've decided to reverse the decision to stop supporting these macros. This means from Confluence 6.14, we will fix bugs relating to these macros, and will not remove the macros from Confluence.
Update 22 January 2019We know from your feedback that the existing View File macros provide important functionality that the newer file upload and preview experience does not. For this reason, we've decided to reverse the decision to stop supporting these macros.
This means from Confluence 6.14, we will fix bugs relating to these macros, and will not remove the macros from Confluence.
I hope that clarifies things, but if you are still having an issue with it, I'd love to know more about it so I can help you out.
Regards,
Hello Shannon,
We are using cloud version of Confluence and the problem we are facing is as below. We have uploaded some pdf documents on a single confluence page (say page 'Repo'). We then have other pages where we want to display selected pdf documents from the Repo page. We tried using the pdf macro and gave reference to Repo page. It lists the available pdf documents but we cannot Save this to make these documents available on the target pages.
Business case is we store results (as pdf) of testing performed for our releases on Repo page. We have separate pages for each release where we want to reference to the appropriate result pdf.
UPDATED! THE BELOW PROCESS HAS BEEN UPDATED (STEP 6) FOLLOWING FEEDBACK AND ISSUES USING DIFFERING BROWSERS.
Hi I thought I would share this option with you that I just found. It is not perfect really just embedding another type of viewer but I think it is better.
Confluence has a pdf preview function which we can access via an iframe.
Here is how:
1. In edit add the pdf file to the page using ctrl + m.
2. Choose the pdf if already attached or upload a new pdf now.
3. Save the page.
4. On the viewing page you will see the pdf as a thumbnail embedded on the page.
5. Click the pdf thumbnail and the advanced pdf viewer will load.
6. Click the share icon in the viewer bar and then copy the share link.
7. Edit the page again. Back in the edit screen delete the thumbnail and instead create an html macro and paste the following iframe code in with your url from step 6 replacing ENTER THE URL IN HERE with your url (leave the apostrophes)
<style>.embed-container { position: relative; padding-bottom: 100%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style><div class='embed-container'><iframe src='ENTER THE URL IN HERE' style='border:0'></iframe></div>
8. Click save
You will now have a fully functioning viewer with download and even pdf edit options.
I don't seem to have a html macro .
Did you install seperately?
Edit: Nevermind, I found the solution.
Thanks!
https://confluence.atlassian.com/doc/html-macro-38273085.html
Hi,
'Insert PDF Macro' doesn't work. 'Insert' button is disabled. screenshot attached.
Mine is Version 86.0.4240.111 (Official Build) (64-bit) .
From the new instructions the step 1 does not work for me.
Hi
The macro seems to indicate it is not finding any appropriate pdfs attached to the page. To fix this, an alternative is view the original page out of edit mode and then drag and drop the pdf onto the page, it will upload as an attachment. Then you should be able to find it in edit mode in the pdf macro.
It looks like you're new here. Sign in or register to get started.