Add email action to any page in business central in AL code

Hello everyone,

I was wondering if anyone would happen to know how to add the email action to any page in BC using AL.

A code example would be helpful.

Thanks.

Hello,

I’d be happy to help you add an email action to a page in Business Central (BC) using AL.

Below, I’ve attached screenshots of the action and the corresponding AL code for your reference.

Here’s an example where we extend the “Sales Quote” page to add an email action:

image

Here’s a AL code for trigger an Email:

If you have any other concerns or questions, please let me know.

Thanks,
Arjun M