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.
Any ideas what's wrong?
Appreciate your help.
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?
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.
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.
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.
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?
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.
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.
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.
Hi Shannon, a few things
I'll raise a ticket with support in any case.
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.
@Alexander Senior if you still have the problem you can try my workaround I posted on the Bug Ticket:
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.
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?
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.
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.
- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events