#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>.
- 5files
- 1AL files
- 1objects
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
- Codeunit 8751 “DA External Storage Impl.”, External Storage - Document Attachments: modified
Also merged into
- #14392 into
releases/29.xon 2026-11-23
Context
- Fixes: #12012 [Bug]: External Storage - Document Attachments fails on Purch. Cr. Memo Hdr. due to trailing dot in generated SharePoint folder name (closed)
- Work items: AB#659957
- Labels: AL: Apps (W1), AL: System Application, Team: Integrations
- Systems: platform
- From the description: “Normalize generated table folders by removing trailing periods after the existing reserved-character removal, space conversion and 100-character truncation.”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Store Document Attachments in External File Storage — possibly related: External file storage for attachments including folder path handling and configuration. (model-linked)
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).