code change · fixIntegration & APIsofficial - Microsoftreviewed - checked by Opus

#9796 Show a message when an e-document file cannot be viewed or no data could be extracted

E-document import handling now displays user-friendly messages when a PDF file cannot be displayed or no data was extracted, instead of throwing runtime errors.

Pull request · merged into main (BC30) on 2026-07-30 by Explorer986 · 1 file (+4 -1), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Added guards to prevent runtime errors when viewing corrupted PDF files
  • Shows clear message when extracted data is unavailable
  • Improves user experience for invalid or corrupt e-document files
  • No schema or permission changes
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#638785
  • Labels: AL: Apps (W1), Team: Integrations
  • Systems: integration
  • From the description: “This adds small guards so both actions show a clear message when there is nothing to display or the file cannot be read.”

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).