Directions ASIA 2025 – Join Us in Bangkok!

I’m excited to announce that I will speak at Directions ASIA 2025 alongside Steve Gichure. This year, the event expands to three full days of learning, networking, and innovation, and we can’t wait to be a part of it. 💙 This event is also extra special because my wife, Shanika Ranathunga, plans to join me! …

Continue reading

Simplify Per-Tenant Extension Management in Dynamics 365 Business Central

The new functionality available in the admin centre has simplified the management of per-tenant extensions (PTE). Administrators can now oversee PTES directly from the Business Central Admin Centre and its API, similar to how AppSource apps are managed. ​ This enhancement reduces administrative overhead by removing the need for individual access to each environment, facilitating …

Continue reading

Search, navigate and use app symbols as context for GitHub Copilot

Working with large AL codebases and multiple dependencies can often make locating specific objects or references difficult. With the latest updates, we can expect significant improvements! Search Downloaded Symbols with Ctrl+T It is now possible to search AL objects from downloaded symbol packages directly in Visual Studio Code using the ‘Open Symbol by Name’ (Ctrl+T) …

Continue reading

Implicit Conversion Between Record and RecordRef

With recent updates to the AL language extension (v15), Microsoft has introduced support for implicit conversion between Record and RecordRef instances, making it easier to work with both types in the code.

This feature removes some of the verbosity previously required when switching between Record and RecordRef variables, allowing developers to write cleaner, more concise AL code.

Ternary operator ?: in AL

AL language now supports ternary (conditional) operator. The ternary operator? : known from other programming languages, streamlines conditional operations in code, enhances readability and reduces verbosity. The following examples show how the code  GetBooleanText() can be rewritten using the ternary operator to be less verbose and more succint. Without the ternary operator: With the ternary operator …

Continue reading

Include Resources in extensions

Good news! Resource files can now be included as part of an extension. This new option enables developers to package essential resources, such as images, configuration settings, and text files, directly with their extensions, ensuring that all necessary components are readily accessible and improving overall performance. To add resources to the extension, the following property …

Continue reading

AL now supports the Continue statement

From runtime version 15, it is possible to use the continue keyword in loops to continue to the next iteration. (Please make sure that your “AL Language extension for Microsoft Dynamics 365 Business Central” is version 15.0 or above) The continue statement allows skipping the remaining code in a loop’s current iteration and jumping directly into the …

Continue reading

Multiline strings: AL now has support for multiline string literals.

AL now support multiline string literals. It will enhance code readability and maintainability, especially when dealing with lengthy text content or complex string literals. Functionality is available with the AL Language Extension version 15.0 I thought, “Oh, we can use this to store the prompts for Copilot or OpenAI.” However, Dmitry suggested that utilising the …

Continue reading

Do you know you can navigate directly to a symbol of a file in VS Code?

All you need to do is press “Ctrl” + P and type the object name you want to navigate to. Then press @. It will list all the object’s fields, functions, and triggers. You can select the place you want to jump into. Regards,Tharanga Chandrasekara

How to Enable Outbound HTTP Requests in the Sandbox

Did you know that outgoing HTTP requests are automatically disabled when a Business Central sandbox is created to prevent unintended calls? To enable outgoing HTTP requests in a sandbox environment, follow these steps:1. Go to the Extension Management page.2. Select the extension making the HTTP request.3. Enable the “Allow HttpClient Requests” option in the extension’s …

Continue reading