code change · fixPlatform, DevOps & Performanceofficial - Microsoftreviewed - checked by Opus

#14331 Fix trailing periods in generated document attachment folders

Document attachment external storage now removes trailing periods from generated table folder names, so uploads for tables like Purch. Cr. Memo Hdr. are no longer rejected by SharePoint. An empty result falls back to Table_<TableID>.

Pull request · merged into main (BC30) on 2026-11-20 by JesperSchulz · 5 files (+194 -1), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Removes trailing periods from generated table folder names after reserved-character removal and truncation
  • Falls back to Table_ format when normalization results in an empty name
  • Applies normalization consistently across directory lookup, creation, and upload operations
  • Extends connector mock to capture directory paths for regression testing
  • Only affects newly generated folder names; existing folders and historical files remain unchanged
  • Behaviour changes for users or extensions.

AL objects touched

Also merged into

  • #14392 into releases/29.x on 2026-11-23

Context

No source states these links: they share an object, a model read them, or a person found the same subject.

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).