---
title: "Page 8889 Email Attachments, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/8889-email-attachments/points/
object: https://jonas-paprotka.de/ref/page/8889-email-attachments/
app: "System Application"
major: 29
source: https://jonas-paprotka.de/ref/page/8889-email-attachments/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
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/"
---

# Page 8889 Email Attachments, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/8889-email-attachments/points/

11 procedures and triggers with a step in src/System Application/App/Email/src/Message/EmailAttachments.Page.al, in source order, read from the text, not from a run.

## FileName.OnDrillDown

[Line 33](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L33), trigger.

- [37](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L37) calls [Codeunit 8906 Email Editor](https://jonas-paprotka.de/ref/codeunit/8906-email-editor/) `DownloadAttachment`

## FileSize.OnAction

[Line 65](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L65), trigger.

- [71](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L71) calls [Codeunit 8906 Email Editor](https://jonas-paprotka.de/ref/codeunit/8906-email-editor/) `UploadAttachment`
- [73](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L73) calls `UpdateDeleteActionEnablement`

## UploadFromScenario.OnAction

[Line 85](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L85), trigger.

- [91](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L91) calls [Page 8896 Email Choose Scenario Attach](https://jonas-paprotka.de/ref/page/8896-email-choose-scenario-attach/) `SetEmailScenario`
- [95](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L95) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogUptake`
- [97](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L97) calls [Page 8896 Email Choose Scenario Attach](https://jonas-paprotka.de/ref/page/8896-email-choose-scenario-attach/) `GetSelectedAttachments`
- [98](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L98) calls [Codeunit 8905 Email Message Impl.](https://jonas-paprotka.de/ref/codeunit/8905-email-message-impl/) `Get`
- [99](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L99) calls [Codeunit 8905 Email Message Impl.](https://jonas-paprotka.de/ref/codeunit/8905-email-message-impl/) `AddAttachmentsFromScenario`
- [101](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L101) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogUsage`
- [103](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L103) calls `UpdateDeleteActionEnablement`

## SourceAttachments.OnAction

[Line 117](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L117), trigger.

- [121](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L121) calls [Codeunit 8906 Email Editor](https://jonas-paprotka.de/ref/codeunit/8906-email-editor/) `AttachFromRelatedRecords`
- [122](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L122) calls [Codeunit 8905 Email Message Impl.](https://jonas-paprotka.de/ref/codeunit/8905-email-message-impl/) `Get`
- [123](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L123) calls `UpdateDeleteActionEnablement`

## WordTemplate.OnAction

[Line 136](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L136), trigger.

- [140](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L140) calls [Codeunit 8906 Email Editor](https://jonas-paprotka.de/ref/codeunit/8906-email-editor/) `AttachFromWordTemplate`
- [141](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L141) calls `UpdateDeleteActionEnablement`

## EditInOneDrive.OnAction

[Line 154](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L154), trigger.

- [175](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L175) writes [Table 9560 Document Sharing](https://jonas-paprotka.de/ref/table/9560-document-sharing/) Insert
- [176](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L176) calls [Codeunit 9560 Document Sharing](https://jonas-paprotka.de/ref/codeunit/9560-document-sharing/) `Share`
- [181](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L181) writes [Table 8904 Email Message Attachment](https://jonas-paprotka.de/ref/table/8904-email-message-attachment/) Modify

## Delete.OnAction

[Line 196](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L196), trigger.

- [202](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L202) writes [Table 8904 Email Message Attachment](https://jonas-paprotka.de/ref/table/8904-email-message-attachment/) DeleteAll
- [203](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L203) calls `UpdateDeleteActionEnablement`

## Delete.OnAfterGetRecord

[Line 210](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L210), trigger.

- [212](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L212) calls [Codeunit 8905 Email Message Impl.](https://jonas-paprotka.de/ref/codeunit/8905-email-message-impl/) `FormatFileSize`

## OnAfterGetCurrRecord

[Line 215](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L215), trigger.

- [219](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L219) calls [Codeunit 9560 Document Sharing](https://jonas-paprotka.de/ref/codeunit/9560-document-sharing/) `ShareEnabled`
- [219](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L219) calls [Codeunit 9560 Document Sharing](https://jonas-paprotka.de/ref/codeunit/9560-document-sharing/) `EditEnabledForFile`

## GetEmailMessage

[Line 222](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L222), protected.

- [224](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L224) calls [Codeunit 8904 Email Message](https://jonas-paprotka.de/ref/codeunit/8904-email-message/) `Get`

## UpdateValues

[Line 236](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L236), internal.

- [238](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L238) calls [Codeunit 8905 Email Message Impl.](https://jonas-paprotka.de/ref/codeunit/8905-email-message-impl/) `GetId`
- [241](https://jonas-paprotka.de/ref/page/8889-email-attachments/source/#L241) calls `UpdateDeleteActionEnablement`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
