community postPlatform, DevOps & Performancecommunity - not Microsoftreviewed - checked by Opus

Dynamics 365 Business Central Blog Series: Preview files directly in the web client

This blog series covers methods to preview various file types (PDF, images, Word, Excel, PowerPoint, video, and more) directly in the Business Central web client without downloading or using custom control add-ins, with native support expanding through BC26 and BC27 releases.

post Dynamics 365 Lab

Yun Zhu · 2025-04-28 · 427 words · about 2 min

"Preview PDF attachments directly in web client (No control add-in and APIs)"

Key points

  • PDF attachments can be previewed natively in BC26 web client without control add-ins or APIs
  • Images and Base64-encoded images can be previewed directly in the web client with enlargement capability
  • SharePoint-hosted files (PDF, DOCX, XLSX, PPTX, TXT, CSV, MP4) are supported for preview within Business Central
  • BC27 introduces a new Document ExtendedDataType that displays PDFs as portrait images in FactBox controls
  • Word documents can be previewed in the web client without downloading files

Quotes

  • “Preview PDF attachments directly in web client (No control add-in and APIs)” (Highlights the native capability in BC26 that eliminates custom development overhead for PDF previewing)
  • “Most file types supported for previewing files in SharePoint” (Shows the breadth of file format support available through SharePoint integration without JavaScript add-ins)
  • “Support for new ExtendedDataType value: Document (display/preview a PDF as a portrait image in FactBox)” (Demonstrates BC27’s new native data type specifically designed for document display in UI components)

Context

  • Features: PDF preview in web client, Image preview and enlargement, Base64 image viewer, SharePoint file preview, Word document preview, Document ExtendedDataType, Multi-format file support, FactBox document display
  • Versions: BC26, BC27, 2025 wave 1, 2025 wave 2

Source: Dynamics 365 Lab - Yun Zhu, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.