File Viewer

The File Viewer lets users preview document attachments directly inside Business Central, on the standard attachment FactBoxes of document pages. It uploads the attachment to SharePoint/OneDrive through Microsoft Graph and shows the returned preview inline, so users can read a file without downloading it.

Purpose and business value

Processing incoming documents usually means checking the attached file (for example the original invoice PDF) while working on the Business Central record. The File Viewer removes the download-open-switch-back cycle by showing the file next to the record, which speeds up review and reduces errors.

Usage

{add screenshot of Document Attachment FactBox with File Viewer here}

How it works

When you preview an attachment, the file is uploaded to SharePoint/OneDrive via Microsoft Graph, and Graph returns a preview URL that Business Central renders inside the viewer control.

Setup

The File Viewer is enabled and configured from the File Viewer (SharePoint Preview) group on the Core Setup card. The recommended way to configure it is the File Viewer Setup Wizard, which walks you through the credentials, the connection test, and the SharePoint site.

Prerequisites

Error handling

When you enable the File Viewer, Core validates the prerequisites. If a required setting is missing (for example the credentials or the SharePoint site), enabling fails with an error and the viewer stays off until the missing information is provided.


Revision #1
Created 2026-07-22 07:21:14 UTC by Bernd Feddersen
Updated 2026-07-22 07:21:14 UTC by Bernd Feddersen