Hi,
I'm using Confluence Cloud and I am trying to display a pdf using the viewpdf macro (documentation: https://confluence.atlassian.com/confcloud/pdf-macro-724765266.html) on a file that is attached to the same page.
The macro doesn't list the name of the file. Manually entering the macro also doesn't help.
{viewpdf:Colors.pdf}
Any ideas what's wrong?
Appreciate your help.
Community moderators have prevented the ability to post new answers.
Hello Shlomi,
Thank you for contacting us.
I am attempting to test this myself on my Cloud instance, but it seems to be working for me. Can you tell me if you have this issue with any PDF file and on all pages? Have you been able to test this with the new editing experience?
Regards,
Shannon
Hi Shannon,
I have the exact same problem.
I have checked with a few PDF files and also with the excel and powerpoint view macros and none of them show any files in the drop-down list. I have tried this both with and without specifying the page where the attachments are located.
This behaviour happens with the new editing experience.
Best regards,
Julian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Julian,
Welcome to Atlassian Community, and thank you for joining this conversation!
There is a bug for both the PDF macro and the Office macros where they are not able to fetch the attachments on the new editing experience:
In Shlomi's example, he's using the wiki markup for the old editor in order to reference the attachment. It is not possible to reference macros in the new editor using the curly bracket. For this reason, I did not think he was using the new editing experience.
If you can confirm this problem is only with the new editing experience and not the old experience, then I can confirm you have run into the bugs above. Please click This affects my team and you will automatically be added to the list of watchers and receive updates on the bugs.
I hope that's clear, but do let me know if you have any questions about that.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Shanonn,
I wasn't aware that the curly brackets are not relevant in the new editor. thanks for clarifying this.
Indeed, I am using the new editor, so I will track the bugs you mentioned.
Regards,
Shlomi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Shlomi,
No worries, happy to help!
Thank you for helping to report the bugs!
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nice that this is a known issue (from June - now we have November!)... anyway, I do not understand the mentioned "workaround":
Simply add add attachments to page with preview Icon.
Could someone elaborate? What is the "Preview Icon"?
BR
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Andreas,
Welcome to Atlassian Community. It's nice to have you!
I'm not quite sure what that was referring to, but I've updated the bug with the current workaround. You'll want to attach PDF directly to the page and preview from there, rather than using the PDF Macro if you are still having issues with it.
As a note; my list of PDF attachments don't load on the page at first when I am trying to use that macro, but they appear after a few seconds, so see if the same happens for you.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Shannon,
now I understand. Preview it without using the PDF Macro.
In any case, it is like you described. The attachment actually shows up eventually in the PDF macro's list - although it is not clear to me when exactly this starts happen ing!
BR
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andreas,
No problem! Thank you for bringing this to us again! I've updated the bug ticket to include that information in case users are experiencing the same delay.
Once your list of attached PDF files load, are you able to use the PDF macro as expected?
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes. It does.
Maybe a new bug ticket: The "Edit" dialog of the PDF macro (and for that matter all the MS Office macros) does not open in the Apple Safari browser ...
BR
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Andreas,
Thank you for letting me know that. As far as I am aware, Safari is not fully compatible with the Atlassian Companion app at this time due to the following bug:
In the meantime, you can edit files with the latest version of Chrome browser.
Let me know if you have any questions about that.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I'm not sure if I'm experiencing the same bug or a related one. I'm trying to preview a PDF on another page. When I'm editing the macro, I can see the PDF in the list of files fine, but nothing happens when I try to preview it in the preview section of the Edit macro dialogue box, and when I click on Save nothing happens. Is this the same bug or a different one?
Edit: I'm (currently) using Chrome version 78.0.3904.108.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexander,
Nice to meet you! Welcome to Atlassian Community.
In this case, there's a spinning wheel when you try to either open the preview or edit when in Firefox or Safari. I assume you're in either one of those?
If you're not getting a spinning wheel, then we can confirm if you're running into the same bug by taking a look at your logs. You can raise a ticket with the Cloud Support Team and we can help determine the cause of your Companion app issue.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shannon, a few things
I'll raise a ticket with support in any case.
Regards,
Alexander.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Alexander,
Thank you for confirming that. I found your support ticket and I'll be watching it for the solution.
Please feel free to share the solution that worked for you here once it's resolved.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In talking with support, it looks like this is a bug with the viewpdf macro, it's in Atlassian's list of bugs to fix: CONFCLOUD-67859: Can't insert pdf attachment in pdf macro .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexander,
Thank you for the update! I'll include this thread on that case. I looks like it doesn't happen for every user, so we will need to investigate further to understand the cause.
I assume you're already watching it, but if not, you can click This affects my team and you'll receive email updates in the future about its progress.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Shannon, I'm watching the issue and another bug that I also encountered.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Alexander Senior if you still have the problem you can try my workaround I posted on the Bug Ticket:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Greetings all - I've had this issue as well. I'd like to ask if the pages you have issues with this on have a colon in the page title. I've noticed that pages that have a ":" in the page title, the PDF macro will not show the list of attachments. Once you remove the colon, it works fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stephen, neither of our pages has a colon in the title.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My Page title had a ':' in it and you're right - just changed the page title and it worked
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same problem and solution here - in 2021 and with Confluence Server 7.4.7... :-(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The issues mentioned here are specific to Confluence Cloud in 2019. Confluence Server/DC are developed separately from Cloud, so you'll want to report this directly to the Server/DC support team or create a new community question.
Thank you for your help!
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is this still a known bug? The PDF macros will show me the list of attachments from a page, but nothing happens when I click "Insert".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Teri,
Thank you for following-up here. You'll be able to see the status of the bug when you visit the link provided above.
For example, the following bugs:
Both of these are still in the initial stages, one during the data collection stage, and the other has been added to our short-term backlog.
I recommend clicking This affects my team to help us keep track of how many users are affected by these bugs. You can also watch the case and you'll receive updates via email.
Let me know if you have any questions about that.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am seeing PDF and PPT macro issue atm. It worked on one page but now it fails on all
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Alexandra,
Welcome to Atlassian Community! It's great to have you join us.
Could you elaborate on the issue you're seeing with PPT/PDF files? Is it the exact same issue here as in CONFCLOUD-67859? In that case, the issue is when the user clicks Insert, nothing happens.
If you are experiencing any other behavior, you can raise a new question here, or a ticket with Cloud Support if you are not on a free Cloud plan.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shanon, I don't get to press Insert for these macros as it's greyed out. Even if my file is attached to the page, the file drop-down has no files to select from, so looks like the macro is not retrieving the attachments?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Alexandra,
In that case, you're likely being affected by one of the first bugs I sent in this thread:
When testing this, the only workaround I discovered was by dragging-and dropping the PDF onto the page, you can preview the PDF by clicking on the macro below:
Can you confirm if you're able to preview PDF attachments this way?
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shanon, I had a ':' in my Page title and, following Stephen's advice below, it worked once i changed the title.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexandra,
Thank you for the confirmation!
Take care,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.