{"title":"Page 8889 Email Attachments, extension points 29","url":"https://jonas-paprotka.de/ref/page/8889-email-attachments/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"page","id":8889,"name":"Email Attachments","app":"System Application","url":"https://jonas-paprotka.de/ref/page/8889-email-attachments/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/8889-email-attachments/source/","path":"src/System Application/App/Email/src/Message/EmailAttachments.Page.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:8906":{"name":"Email Editor","url":"https://jonas-paprotka.de/ref/codeunit/8906-email-editor/"},"page:8896":{"name":"Email Choose Scenario Attach","url":"https://jonas-paprotka.de/ref/page/8896-email-choose-scenario-attach/"},"codeunit:8703":{"name":"Feature Telemetry","url":"https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/"},"codeunit:8905":{"name":"Email Message Impl.","url":"https://jonas-paprotka.de/ref/codeunit/8905-email-message-impl/"},"table:9560":{"name":"Document Sharing","url":"https://jonas-paprotka.de/ref/table/9560-document-sharing/"},"codeunit:9560":{"name":"Document Sharing","url":"https://jonas-paprotka.de/ref/codeunit/9560-document-sharing/"},"table:8904":{"name":"Email Message Attachment","url":"https://jonas-paprotka.de/ref/table/8904-email-message-attachment/"},"codeunit:8904":{"name":"Email Message","url":"https://jonas-paprotka.de/ref/codeunit/8904-email-message/"}},"procs":[{"name":"FileName.OnDrillDown","line":33,"kind":"trigger","steps":[[37,"ext","codeunit",8906,"DownloadAttachment",2]]},{"name":"FileSize.OnAction","line":65,"kind":"trigger","steps":[[71,"ext","codeunit",8906,"UploadAttachment",2],[73,"call","UpdateDeleteActionEnablement",0]]},{"name":"UploadFromScenario.OnAction","line":85,"kind":"trigger","steps":[[91,"ext","page",8896,"SetEmailScenario",1],[95,"ext","codeunit",8703,"LogUptake",3],[97,"ext","page",8896,"GetSelectedAttachments",1],[98,"ext","codeunit",8905,"Get",1],[99,"ext","codeunit",8905,"AddAttachmentsFromScenario",1],[101,"ext","codeunit",8703,"LogUsage",3],[103,"call","UpdateDeleteActionEnablement",0]]},{"name":"SourceAttachments.OnAction","line":117,"kind":"trigger","steps":[[121,"ext","codeunit",8906,"AttachFromRelatedRecords",1],[122,"ext","codeunit",8905,"Get",1],[123,"call","UpdateDeleteActionEnablement",0]]},{"name":"WordTemplate.OnAction","line":136,"kind":"trigger","steps":[[140,"ext","codeunit",8906,"AttachFromWordTemplate",2],[141,"call","UpdateDeleteActionEnablement",0]]},{"name":"EditInOneDrive.OnAction","line":154,"kind":"trigger","steps":[[175,"write",9560,"Insert"],[176,"ext","codeunit",9560,"Share",1],[181,"write",8904,"Modify"]]},{"name":"Delete.OnAction","line":196,"kind":"trigger","steps":[[202,"write",8904,"DeleteAll"],[203,"call","UpdateDeleteActionEnablement",0]]},{"name":"Delete.OnAfterGetRecord","line":210,"kind":"trigger","steps":[[212,"ext","codeunit",8905,"FormatFileSize",1]]},{"name":"OnAfterGetCurrRecord","line":215,"kind":"trigger","steps":[[219,"ext","codeunit",9560,"ShareEnabled",1],[219,"ext","codeunit",9560,"EditEnabledForFile",1]]},{"name":"GetEmailMessage","line":222,"kind":"procedure","access":"protected","params":0,"steps":[[224,"ext","codeunit",8904,"Get",1]]},{"name":"UpdateValues","line":236,"kind":"procedure","access":"internal","params":2,"steps":[[238,"ext","codeunit",8905,"GetId",0],[241,"call","UpdateDeleteActionEnablement",0]]}]}