Skip to main content

KI-105

Preview does not work in Hyperforce for Office files

Created date

09/29/2023

Updated date

11/15/2023

Status

Done

Related work item

PLTFM-2147

MPP-1896

Description

The non-enhanced previewer displays a “No Preview Available” message when uploading an Office file (e.g. docx, doc, pptx…). This is caused by Salesforce dropping SVG based preview renditions in Hyperforce. For more information, visit Salesforce's Content file preview issues documentation.

Affects version(s)

All versions

Impacted capabilities

N/A

Steps to reproduce

  1. Have a Hyperforce Org.

  2. Create a new Document Version.

Notice that the Office file is not displayed and a “No Preview Available” message is displayed instead.

Workaround

  1. Manually upload a PDF rendition of the file, OR

  2. In the MCM Global Setting (mvn__CM_Global_Setting__mdt) custom metadata type, add the missing file types to the "Enhanced Viewer Extensions" setting to force the use of the Enhanced Viewer for rendering a preview.

    Note

    Although Office files typically work in the Enhanced Viewer, they are not officially supported, so rendering bugs and issues should be expected.

Fix version

Fall '23

Resolution notes

Previews are now shown using the JPG-based preview images so that they continue to work in Hyperforce.