handling-bc-files

Installation
SKILL.md

Skill: AL File Handling

Validation Gates

  1. After Step 1: UploadIntoStream opens file dialog, InStream contains data
  2. After Step 2: Attachment saved to Document Attachment or custom table
  3. Final: XMLport imports/exports successfully, Azure Blob upload returns IsSuccessful()

Note: ALWAYS CalcFields(BlobField) before CreateInStream. Web Client allows only ONE DownloadFromStream per request.

Procedure

Step 1: Upload/Download Files

// Upload
if UploadIntoStream('Select file', '', 'All Files (*.*)|*.*', FileName, InStr) then
    // Process InStr
Installs
2
GitHub Stars
1
First Seen
Apr 9, 2026