Forum Discussion

jaread83's avatar
jaread83
Champion
8 years ago
Solved

Why are attachments shown in a preview box now?

This has been of a bug bear for a little while for me but attachments are now shown within a preview modal and the content is served up from a cloud service somewhere.

 

Annoyingly, IT security actively blocks ALL cloud services on our network so none of our agents can view these previews of the uploaded attachments, we get the generic 'cannot connect' within the modal that is shown on all browsers when they cannot connect to a website... but they can still download the file directly.

 

Is there a way go revert attachments back to how they were before? I am not seeing any options in the features in Studio to change attachments.

 

Thanks!

 

  • In that same section of the admin there is also a setting for "Preview attached documents in online viewer".  Have you tried disabling this?

8 Replies

  • jaread83-

     

    There is a setting available in community admin.

    Community Admin - System -  File attachment - Host URL to render attachment. Please Leave this field blank to serve attachments on the actual community

  • jaread83's avatar
    jaread83
    Champion
    8 years ago
    Hi TariqHussain, good to see you!

    The field is blank but attachments still load in a modal box and they are hosted on lithium.box.com (or similar?).
  • TariqHussain's avatar
    TariqHussain
    Boss
    8 years ago

    Same here jaread83 - Can you try to create a new message with attachment? and confirm if this is happening to all new messages as well?

  • jaread83's avatar
    jaread83
    Champion
    8 years ago

    I created a new message with an attachment but when clicking to view its still being uploaded to lithium.app.box.com

     

    The field is blank in the attachment settings so not sure why it would do that...

     

  • ChristineC's avatar
    ChristineC
    Khoros Alumni (Retired)
    8 years ago

    In that same section of the admin there is also a setting for "Preview attached documents in online viewer".  Have you tried disabling this?

  • TariqHussain's avatar
    TariqHussain
    Boss
    8 years ago

    ChristineC - This would completely disable the attachment viewer option. However, it wouldn't solve the issue as the issue is the URL of an attachment is being rendered incorrectly. 

     

    jaread83 - Can you also confirm if host URL setting is not updated for the specific board where you are posting a message with an attachment.  If this doesn't solve the issue, you can turn off the online attachment viewer as mentioned by ChristineC.  There could be some configuration changes for which you can raise a ticket to lithium support.

     

    Thanks

    Tariq Hussain

  • jaread83's avatar
    jaread83
    Champion
    8 years ago

    Thanks TariqHussain and ChristineC for your replies. I can confirm that the location of the upload field is blank on all areas of our community but it doesn't make any difference, the 'preview' version of the file is hosted on a cloud service that I cannot view and user are finding that the preview file is stuck in a redirect loop sometimes.

    I have gone ahead and disabled the preview mode as it is not working properly from my office (due to IT blocking the cloud service) and also regular users encountering issues with it.

    Hopefully the preview mode will be improved upon in a software update in the future, I thought it was fine as it was before.

  • TariqHussain's avatar
    TariqHussain
    Boss
    8 years ago

     jaread83 - Disabling online attachment viewer is the only workaround as for now. However, I will suggest you raise a ticket to lithium support as well, I didn't notice this issue in any other community. It could only be related to your community only.