Hello.
Since the last upgrade, the pdf-viewer only show pdf doc´s when a user is logged in.
Anonymous user only see a emty pdf-viewer.
It seems like an authorization problem.
Greats
Michael Rindler
We are also facing similar issue with Confluence 6.15.3, with Office Powerpoint.
Anonymous user can download files from download section as all permissions are provided, but cannot view inside page.
There is no issue for logged in user.
Also JS console when I checked shows, "Error: No cp/component/companion/embedded-edit-with"
This error was not visible for logged in user.
Hi there,
Thank you for providing this information! I was able to discover that a bug was logged for this the other day using the details you provided:
There's a workaround as follows:
Replace the view file PDF macro with the newer file previewer:
Backup your Confluence database before making any changes.
How to replace old View File macros with the new File Preview macroThis will replace all of the view file macro in all of Confluence BLOGPOST, PAGE, and COMMENT.
I hope that helps! Thank you again for providing me those details.
Take care, and have a pleasant week.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Michael,
Thank you for reaching out!
Looking forward to hearing from you soon!
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Shannon.
Thx for your fast response.
Following are the answers to your questions.
1. We use the Office Connector plugin viewpdf (1258). IS this a different Confluence viewer?
2. 6.15.2
3. No
4. Yes
5. Only the frame is visible. Not the content. This change on login.
Greats Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Michael,
Thank you for the information. Yes, that's the Confluence Office Connector PDF viewer. Thank you for the confirmation.
If the PDF isn't attached to a space open to anonymous users, then it would make sense that it doesn't load for the anonymous user.
Can you explain more about how your permissions are set up? What are your global permissions like, and how is the individual page's permission set, as well as the space that it's in? Where are you embedding the PDF from if it's not from a page with anonymous access?
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Shannon.
Our global Permission :
Anonymous access = Confluence use
Area Permission:
Anonymous access = Show all
Restricted pages = none
Attachments are attached directly to the corresponding pages and integrated with Macro PDF in the page.
Greats Michael
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.
Michael,
Thank you for following up!
Can you confirm when you say area permission you are referring to the space permissions?
Earlier you answered in question that the attachments themselves aren't open to anonymous users, but your reply now states otherwise. Could you please confirm?
I suspect there might be confusion about what I meant by that question. I was asking specifically if you have given the users permissions in the Space permissions directly to any attachments on the page, but not whether or not they were currently working for those anonymous users.
Lastly, can you confirm if you attach any other files to the page does the same issue occur? Such as .jpg, .gif, mov, .docx, etc.
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 Michael,
Please disregard my last response!
Using the information that the other poster has included, I was able to determine the bug for this issue is as follows:
You can check out that bug for a workaround in the meantime. Please be sure to click This affects my team on the bug, as it helps us keep track of the number of affected users.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Shannon.
Your last post helped with this.
Is it also possible to disable the old macro "viewpdf"?
So that the users can not use it anymore?
Greats Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Michael,
Thank you for confirming!
it's certainly possible to disable the legacy PDF macro. However, you want to make sure you've first completed the workaround from the ticket:
If you don't complete this first, then you will end up with issues on your Confluence pages.
Once you've replaced the old view file macros with the new one, you can disable the old version. Please review Disabling and enabling apps for details on that.
The add-on you are looking for is called Office Connector Plugin and you'll be able to find it under System add-ons. Please be sure not to disable the entire add-on. You want to expand the listing, and then click the link on the right that says "## of ## modules enabled."
Look for the modules that are called view*-legacy. You can disable those, but only if you have already gone through the workaround.
One more thing, but it shouldn't actually be required for you to disable the modules. We've left them as some pages are still referencing the old modules in many Confluence instances. It's no longer possible to call them when inserting a module into a page post Confluence 5.7.
I hope that helps! But let me know if you have any questions or trouble.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.