The Office File Preview plugin allows users to preview Office-format files, such as Word, Excel, and PowerPoint, directly within the NocoBase application.
It leverages Microsoft's public online service to embed the file content into a preview interface, enabling users to view documents directly in the browser without downloading or using Office applications.
By default, this plugin is disabled. It can be enabled in the plugin manager and requires no additional configuration.

After successfully uploading an Office file (Word / Excel / PowerPoint) to a file field in a data table, you can click the file icon or link to preview its content in a popup or embedded interface.

This plugin uses Microsoft’s public online service (Office Web Viewer) to render previews. The basic workflow is as follows:
The frontend generates a publicly accessible URL for the uploaded file (including signed URLs such as those from the S3-Pro plugin);
The plugin embeds the preview in an iframe using the following format:
Microsoft’s service fetches the file from the URL, renders it, and returns a previewable page.
This plugin only supports previews for the following Office file formats, based on the file's MIME type or file extension:
application/vnd.openxmlformats-officedocument.wordprocessingml.document (.docx) or application/msword (.doc)application/vnd.openxmlformats-officedocument.spreadsheetml.sheet (.xlsx) or application/vnd.ms-excel (.xls)application/vnd.openxmlformats-officedocument.presentationml.presentation (.pptx) or application/vnd.ms-powerpoint (.ppt)application/vnd.oasis.opendocument.text (.odt)Other file formats will not be previewed by this plugin.