Breadcrumbs

Document Preview

As an administrator, you can provide preview tools to your users so that they can quickly view a portion of a document to determine if it is the one they need to work with. 

  1.  After selecting a file in the user portal, a Preview button is available.

    ClickPreview.png
  2.  After clicking the Preview button, a separate window opens showing an image of the file.

    The preview can be edited with the same Web edit/Office Online and Edit in Desktop applications that are available for editing the file from the file listing.
    openwith.png

There are a few different ways an administrator can provide preview tools in FileCloud:

  • Quick JS Preview

  • DocConverter with LibreOffice 

  • WOPI - Web Application Open Platform Interface Protocol (supports online web editing features)

  • Integration with AutoDesk Viewer (FileCloud version 22.1 and later) for previewing AutoCAD files only. See Setting Up AutoCAD File Preview with Autodesk Viewer for instructions.


What is DocConverter?

FileCloud uses a Java-based service called FileCloud Document Converter to:

  • Enable thumbs for Microsoft Office files (DOC, DOCX, PPT, PPTX, XSL, XSLX)

  • Enable thumbs for Apple iSuite files (.pages, .numbers, .key)

  • Enable thumbs for Adobe documents (AI, PDF, PSD)

  • Enable thumbs for TIFF images

  • Interface with LibreOffice for document preview generation

For this FileCloud uses a java program based on Apache's PDFBox.  Document converter also will use LibreOffice libraries to convert documents to PDF.

1.   Start the DocConverter service and configure it with FileCloud.

Linux: LibreOffice Ubuntu/RHEL Instructions

Windows: LibreOffice Windows Instructions

2.   Enable thumbnail images on the Admin Portal.

icons8-arrow-24.png  Enable Document Thumbs

What Other Online Web Editing Features Are Available?

Administrators can configure online editing to allow FileCloud users to select any supported document and edit the document from within the User Portal.

  • FileCloud uses the WOPI (Web Application Open Platform Interface) protocol to support online web editing

To use WOPI, you must install or have already available one of the following to provide the web editing capability:

  • Microsoft Office Online

  • Collabora Code

icons8-arrow-24.png Manage Online Web Editing


You can choose which tool to use not only by the version of FileCloud you are using, but also by the functionality.

Tool

File Types Previewed

Preview Keys 

 Interactions with Other Tools/Other Notes

Quick JS Preview

  • AI

  • DICOM

  • HEIC

  • PDF

  • PSD

  • Microsoft - DOCX, PPTX, XLSX

  • audio: MP3, OGG, WAV, M4A

  • video: MP4, WebM, MOV

None

  • If DocConverter is also in use, then previews can also be shown by using the SHIFT + Preview keys for a DocConverter view

  • If WOPI is also in use, then WOPI will override QuickJS functionality

  • Both QuickJS and DocConverter must be in use to enable users to preview Office files. See LibreOffice Windows Instructions.

DocConverter with LibreOffice

  • AI

  • DICOM

  • ODG (Oasis graphic files)

  • ODS (Oasis spreadsheets)

  • ODT (OpenDocument text created by LibreOffice and others)

  • PDF

  • TXT

  • Apple iWork Suite - .pages, .numbers, .key

  • Microsoft - DOC, DOCX, PPT, PPTX, XLS, XLSX

  • audio: MP3, OGG, WAV, M4A

  • video: MP4, WebM, MOV

SHIFT + Preview

  • If Quick JS is also in use, then previews can also be shown without using any preview keys

  • If WOPI is also in use, then WOPI will override DocConverter functionality

  • Currently, .numbers file previews appear with table gridlines and numbers only. Additional table formatting does not appear in the previews.


WOPI

  • Microsoft - DOC, DOCX, PPT, PPTX, XLS, XLSX

  • audio: MP3, OGG, WAV, M4A

  • video: MP4, WebM, MOV

None

  • WOPI will override any Quick JS or DocConverter functionality

  • To preview a file using WOPI, the user must have download permission to the file.


https://fileclouddocs.atlassian.net/wiki/s/1623602073/6452/05f502871a457750e4d6a5e1f585bce5603b62b2/_/images/icons/emoticons/lightbulb_on.png To configure document preview, click on a method to see the steps:

Configure Quick JS Preview

PREREQUISITES for Quick JS Previews:

  1. You must be running FileCloud version 19.1 and later.

  2. You must stop the Document Converter service according to the OS you are using.

    1. For Windows, open the FileCloud Control Panel and stop the DocConverter Service if it is running.

    2. For Linux, run the following command:


      # sudo service fcdocconverter stop
      

To enable preview using Quick JS:

  1. Open the Preview settings page.

    To open the Preview settings page
    1. In the FileCloud admin portal's left navigation bar, scroll down and click Settings. Then, on the Settings navigation page, click Misc MiscIcon.png .

    2. In the inner navigation bar on the left of the Settings page, expand the Misc menu, and click Preview, as shown below.
      PreviewSettingsPage2.png

     

    The Preview settings page opens.

  2. On the Preview screen, enable the field Enable Quick JS preview.
    EnableQuickJSPreview2.png

Configure Preview using WOPI

Administrators can configure online previewing using WOPI for any supported document from within the User Portal.

  1. In the FileCloud admin portal's left navigation bar, scroll down and click Settings. Then, on the Settings navigation page, click Web Edit WebEditIcon.png .
    The Web Edit settings page opens.

  2. Configure online editing using WOPI. See Microsoft Office Online Cloud For Web Edit.

  3. During your configuration, check WOPI Preview.

    WebEditWopi2.png

To include watermarks on previewed documents, see Enabling Watermarks On Previews