---
title: "Page 2021 Office Attachments, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/2021-office-attachments/points/
object: https://jonas-paprotka.de/ref/page/2021-office-attachments/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/page/2021-office-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 2021 Office Attachments, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/2021-office-attachments/points/

3 procedures and triggers with a step in src/Layers/W1/BaseApp/OfficeAttachments.Page.al, in source order, read from the text, not from a run.

## OnOpenPage

[Line 44](https://jonas-paprotka.de/ref/page/2021-office-attachments/source/#L44), trigger.

- [48](https://jonas-paprotka.de/ref/page/2021-office-attachments/source/#L48) writes [Table 1602 Exchange Object](https://jonas-paprotka.de/ref/table/1602-exchange-object/) Modify

## OnQueryClosePage

[Line 52](https://jonas-paprotka.de/ref/page/2021-office-attachments/source/#L52), trigger.

- [55](https://jonas-paprotka.de/ref/page/2021-office-attachments/source/#L55) calls `onSave`

## onSave

[Line 58](https://jonas-paprotka.de/ref/page/2021-office-attachments/source/#L58), local.

- [63](https://jonas-paprotka.de/ref/page/2021-office-attachments/source/#L63) calls [Codeunit 1630 Office Management](https://jonas-paprotka.de/ref/codeunit/1630-office-management/) `SendToAttachments`
- [65](https://jonas-paprotka.de/ref/page/2021-office-attachments/source/#L65) calls [Codeunit 1630 Office Management](https://jonas-paprotka.de/ref/codeunit/1630-office-management/) `DisplaySuccessMessage`

## Source

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

JOP-AL, 2026-11-20.
