---
title: "Page 9996 Word Template Selection Wizard, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/points/
object: https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/
app: "System Application"
major: 29
source: https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/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 9996 Word Template Selection Wizard, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/points/

8 procedures and triggers with a step in src/System Application/App/Word Templates/src/WordTemplateSelectionWizard.Page.al, in source order, read from the text, not from a run.

## EditDocument.OnDrillDown

[Line 112](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L112), trigger.

- [118](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L118) calls [Codeunit 4100 Temp Blob](https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/) `HasValue`
- [122](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L122) calls [Codeunit 4100 Temp Blob](https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/) `CreateInStream`
- [123](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L123) calls [Codeunit 9987 Word Template](https://jonas-paprotka.de/ref/codeunit/9987-word-template/) `Load`
- [125](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L125) calls [Codeunit 9987 Word Template](https://jonas-paprotka.de/ref/codeunit/9987-word-template/) `Load`
- [126](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L126) calls [Codeunit 9987 Word Template](https://jonas-paprotka.de/ref/codeunit/9987-word-template/) `Merge`
- [128](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L128) calls [Codeunit 4100 Temp Blob](https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/) `CreateOutStream`
- [129](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L129) calls [Codeunit 9987 Word Template](https://jonas-paprotka.de/ref/codeunit/9987-word-template/) `GetDocument`
- [132](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L132) calls [Codeunit 4100 Temp Blob](https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/) `HasValue`

## SetFilters.OnDrillDown

[Line 159](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L159), trigger.

- [165](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L165) calls [Codeunit 9988 Word Template Impl.](https://jonas-paprotka.de/ref/codeunit/9988-word-template-impl/) `SetFiltersOnRecord`

## Finish.OnAction

[Line 281](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L281), trigger.

- [285](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L285) calls `MergeTemplate`
- [288](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L288) calls [Codeunit 9987 Word Template](https://jonas-paprotka.de/ref/codeunit/9987-word-template/) `DownloadDocument`

## New.OnAction

[Line 377](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L377), trigger.

- [382](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L382) calls [Page 9995 Word Template Creation Wizard](https://jonas-paprotka.de/ref/page/9995-word-template-creation-wizard/) `SetTableNo`

## OnOpenPage

[Line 398](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L398), trigger.

- [408](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L408) calls [Codeunit 9560 Document Sharing](https://jonas-paprotka.de/ref/codeunit/9560-document-sharing/) `ShareEnabled`

## MergeTemplate

[Line 416](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L416), protected.

- [423](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L423) calls [Codeunit 4100 Temp Blob](https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/) `Length`
- [424](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L424) calls [Codeunit 4100 Temp Blob](https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/) `CreateInStream`
- [425](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L425) calls [Codeunit 4100 Temp Blob](https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/) `CreateOutStream`
- [427](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L427) calls [Codeunit 4100 Temp Blob](https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/) `CreateInStream`
- [428](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L428) calls [Codeunit 9987 Word Template](https://jonas-paprotka.de/ref/codeunit/9987-word-template/) `Load`
- [429](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L429) calls [Codeunit 9987 Word Template](https://jonas-paprotka.de/ref/codeunit/9987-word-template/) `Merge`
- [430](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L430) calls [Codeunit 4100 Temp Blob](https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/) `CreateOutStream`
- [431](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L431) calls [Codeunit 9987 Word Template](https://jonas-paprotka.de/ref/codeunit/9987-word-template/) `GetDocument`
- [434](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L434) calls [Codeunit 9987 Word Template](https://jonas-paprotka.de/ref/codeunit/9987-word-template/) `Load`
- [435](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L435) calls [Codeunit 9987 Word Template](https://jonas-paprotka.de/ref/codeunit/9987-word-template/) `Merge`
- [436](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L436) calls [Codeunit 4100 Temp Blob](https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/) `CreateOutStream`
- [437](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L437) calls [Codeunit 9987 Word Template](https://jonas-paprotka.de/ref/codeunit/9987-word-template/) `GetDocument`

## SetTemplate

[Line 446](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L446).

- [454](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L454) calls [Codeunit 9987 Word Template](https://jonas-paprotka.de/ref/codeunit/9987-word-template/) `Load`
- [455](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L455) calls [Codeunit 9987 Word Template](https://jonas-paprotka.de/ref/codeunit/9987-word-template/) `GetTableId`

## GetDocumentStream

[Line 522](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L522), internal.

- [524](https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/#L524) calls [Codeunit 4100 Temp Blob](https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/) `CreateInStream`

## Source

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

JOP-AL, 2026-11-20.
