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

Do you specify the ๐‘๐ฎ๐ง๐“๐ซ๐ข๐ ๐ ๐ž๐ซ parameter?

When you call the Insert, Modify, or Delete functions, it is important to specify the ๐‘๐ฎ๐ง๐“๐ซ๐ข๐ ๐ ๐ž๐ซ parameter. If you do not include this parameter, the compiler assumes you ๐’…๐’ ๐’๐’๐’• ๐’˜๐’‚๐’๐’• to run the trigger. ๐‘จ๐’๐’˜๐’‚๐’š๐’” ๐’ƒ๐’† ๐’„๐’๐’†๐’‚๐’“ ๐’‚๐’ƒ๐’๐’–๐’• ๐’š๐’๐’–๐’“ ๐’Š๐’๐’•๐’†๐’๐’•๐’Š๐’๐’๐’”. For example:If you do not want to run the trigger, use:Record.Modify(๐Ÿ๐š๐ฅ๐ฌ๐ž); Avoid using:Record.Modify(); If …

Continue reading

Are you looking for an Action image browser in BC?

AL developers for Microsoft Business Central need to browse the Business Central image gallery to select meaningful images. This allows them to assign these images to new action buttons, enhancing the user interface for better usability. The AZ AL Dev Tools extension simplifies this process by adding new commands that load and display available images …

Continue reading

Update sandbox environments to preview versions

It will be possible to update a Microsoft Business Central sandbox environment to the preview version starting with the public preview for 2025 release wave 2.

Decluttering Your Enums: How to Show Only What Matters

It is common practice to use existing objects when developing new modules. Microsoft Dynamics 365 Business Central offers a wide array of pre-defined enums; however, specific options within these enums may not be relevant to the new module’s requirements. Additionally, there may be instances where it is advisable to restrict users from selecting specific values …

Continue reading

Directions Asia 2024

Recap: Presenting at Directions Asia 2024 Conference in Bangkok I recently had the pleasure of presenting at the Directions Asia conference in Bangkok, and I must say, it was an incredibly rewarding experience. If my memory serves correctly, it was my 4th Directions Asia conference. As usual, the event was exceptionally well organised, and everyone …

Continue reading

Turn off data analysis mode on pages and queries.

When first introduced, the data analysis mode was available on all list pages, and it did not make sense to have that feature available for all users. From version 23.1, tenant admins and AL developers can turn off the analysis mode on list pages and query objects unsuitable for analytical usage. Below are the two …

Continue reading

Automatically update AppSource apps with minor updates.

Before the 2023 release wave 2, Admin users could manually update specific apps through the App Management page in the Business Central admin centre or await a major update for the environment, which will automatically update AppSource applications.

What if you donโ€™t want to do it manually or wait for a Major update? Letโ€™s say you want to update the AppSource apps to the latest version with every minor update.