Skip to content

Add namespace and using directives to AL code examples in email extension doc#3573

Merged
jswymer merged 1 commit into
MicrosoftDocs:mainfrom
jeffreybulanadi:add-namespace-to-email-extension-examples
May 19, 2026
Merged

Add namespace and using directives to AL code examples in email extension doc#3573
jswymer merged 1 commit into
MicrosoftDocs:mainfrom
jeffreybulanadi:add-namespace-to-email-extension-examples

Conversation

@jeffreybulanadi

Copy link
Copy Markdown
Contributor

All AL code blocks in devenv-extending-email.md were missing namespace and using declarations.

Changes:

  • Platform interface reference blocks (Email View Policy, Email Connector) now show the real namespace System.Email; header, sourced from BCApps/src/System Application/App/Email/src/
  • All user extension code blocks (enumextensions, table/page extensions, event subscribers) now declare namespace MyCompany.EmailExtension; with using System.Email;
  • Completed the incomplete Email Connector enumextension snippet that was missing its outer enumextension declaration
  • Converted the bare "Email Importance Enum" plain-text line into a proper ## section heading with a descriptive sentence

Verified against BCApps (System Application/App/Email):

  • interface "Email Connector" -> EmailConnector.Interface.al, namespace System.Email confirmed
  • interface "Email View Policy" -> EmailViewPolicy.Interface.al, namespace System.Email confirmed
  • All procedure signatures match BCApps interface files exactly

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 8c3a9b0:

✅ Validation status: passed

File Status Preview URL Details
dev-itpro/developer/devenv-extending-email.md ✅Succeeded

For more details, please refer to the build report.

@jeffreybulanadi jeffreybulanadi force-pushed the add-namespace-to-email-extension-examples branch from 8c3a9b0 to 39ef36a Compare May 15, 2026 00:08
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 39ef36a:

✅ Validation status: passed

File Status Preview URL Details
dev-itpro/developer/devenv-extending-email.md ✅Succeeded

For more details, please refer to the build report.

@jswymer jswymer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jeffreybulanadi Thanks for the contribution! It's very much appreciated.

@jswymer jswymer merged commit f297365 into MicrosoftDocs:main May 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants