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 …
Category: VSCode
Mar 11
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 …
Mar 11
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 My first thought was, โOh, we can use this to store the prompts for Copilot or OpenAI.โ However, Dmitry suggested that …
Mar 11
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 …
Feb 02
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 …
Dec 09
VS Code Multi Screens (Floating editor windows)
If you are working with multiple screens, you might have been annoyed with VSCode many times because it does not support multiple screens very much. Sometimes, even on a single screen, you want to rearrange the vscode editor windows but struggle as vscode does not support that either. The great news is that it is …
Feb 10
How to get Business Central Environment Related Attributes?
If you want to get the details about the environment you don’t have to reinvent the wheel, you can simply use the standard codeunit Microsoft has introduced. If you look into the codeunit 457 “Environment Information”, you will see there are many procedures that fetch attributes concerning the environment of the service on which the tenant is hosted. Codeunit 457 is part of the System Application.Source.
Oct 20
Quick fix for warning AL0604: Use of implicit ‘with’ will be removed in the future.
If you have not read my previous blog posts about the Implicit WITH, I suggest you read them to get a better understanding of the Implicit WITH. Also, you can read the Microsoft Docs to get more information as well. NoImplicitWith โ The name #FieldName does not exist in the current context NoImplicitWith: The type …
Apr 24
Navigate directly to a symbol of a file in VS Code
How would feel about if you can directly navigate to a symbol of a file? It is now possible in VS Code. All you need to do is press “Ctrl” + P and type the object name you want to navigate to and then press @, it will list down all the fields, functions and …
- 1
- 2