For Microsoft Dynamics 365 Business Central partners, growth is both an opportunity and a challenge. Expanding your client base and ...
Per saperne di piùFirst Look: Exciting New Development Features in Microsoft Dynamics Business Central 2024 Release Wave 2 (v25)
Wednesday, July 31, 2024
Reading time: 8 minutes
Microsoft Dynamics Business Central continues to evolve, and the upcoming 2024 Release Wave 2 (v25) is packed with new development features aimed at enhancing the productivity and capabilities of developers working within the ecosystem. Last week we looked at new application features. This first look dives into some of the most noteworthy development updates, providing insights into how these new features can streamline your development processes and improve the functionality of your custom solutions. For a comprehensive overview, check out the full release plan.
This version seems to have a focus on extending the Interfaces in Business Central, so let’s delve into that first:
Extend AL Interfaces
Learn more about extending AL interfaces here.
Type Testing and Casting Operators for Interfaces
The IS operator
The is operator allows you to test whether an instance of an interface, or the content of a variant supports a specific interface. Here’s the syntax for using the is keyword:
You can also use the is operator with variants:
The AS operator
Similarly, the as keyword works with variants:
Find out more about type testing and casting here.
Extend and Customize Profiles from Other Extensions
Read more about extending and customizing profiles here.
Package Resources in Extensions and Access from AL
Developers can now package resources such as images, scripts, and other files within their extensions and access these resources directly from AL code. This feature simplifies the management of extension assets and ensures that all necessary resources are bundled together, reducing the complexity of deployment and maintenance.
Find out more about packaging resources in extensions here.
Pull Extension Source from GitHub When Opening Visual Studio Code from the Web Client
This integration enables developers to pull the source code of extensions directly from GitHub when opening Visual Studio Code from the Business Central web client. It streamlines the development workflow by allowing seamless access to version-controlled code, facilitating collaboration and ensuring that the latest codebase is always at hand.
From the Extension Management list page, you now have a new Open Source in VS Code option in the context menu for an extension:
If you invoke Open Source in VS Code, Visual Studio Code will open and ask you whether to clone or open the GitHub repo for the extension. It will use the repo metadata that was included in the extension when it was built:
Explore this feature in detail here.
Restore Extensions if Publishing from Visual Studio Code Fails
In scenarios where publishing an extension from Visual Studio Code fails, this new feature provides the ability to restore the previous version of the extension. It helps maintain system stability and reduces downtime by quickly reverting to a known good state, ensuring that development issues do not disrupt ongoing business operations.
Learn more about restoring extensions here.
Run Code Action for 'with' for File, Project, or Workspace
The new code action feature allows developers to apply the ‘with’ statement across files, projects, or entire workspaces. This can significantly speed up the development process by automating repetitive tasks and ensuring consistent code formatting and structure across your codebase.
Discover more about running code actions here.
Set Up Easier In-Client Performance Profiling with Rules
Performance profiling within the client has been made easier with the introduction of profiling rules. Developers can now set up and manage performance profiling directly from the client, allowing for more accurate and efficient identification of performance bottlenecks and optimization opportunities.
This example shows how you can set up a schedule for capturing profiles for a specific user’s browser activity during 5 days:
Read more about performance profiling here.
Improved Features for Report Documents
Business Central now includes improved features for working with report documents. These enhancements allow for more flexible and powerful report generation, catering to complex reporting needs and providing better insights through customized report layouts and data presentation.
The following improvements are available for the Word layout feature:
- You can use sections in Word layouts even when you use the WordMergeDataItem property. This unlocks the ability to change layout properties, such as margins, orientation (portrait or landscape), or columns inside your Word layout. Also, you can use different watermarks for different parts of the layout. For more information, go to Using sections in a Word layout.
- From the Report Layouts page, you can download a Word layout template for a report. The layout template makes it easier to convert an RDL layout or a customer-supplied Word file into a Word layout for a report.
- A new Word add-in lets you control conditional visibility of text, tables, or table rows/columns.
Learn more about report document improvements here.
Use the Ternary Operator When Coding in the AL Language
The introduction of the ternary operator in AL language is a significant addition, enabling more concise and readable conditional expressions. This operator allows developers to write more streamlined and efficient code, improving overall code quality.
Here’s an example of using if-then-else as until now and the new ternary operator:
Discover how to use the ternary operator here.
Use the 'this' Keyword for Codeunit Self-Reference
The ‘this’ keyword is now available for self-referencing within codeunits. This enhancement simplifies the coding process by providing a straightforward way to reference the current instance of a codeunit, making the code more intuitive and easier to manage.
Read more about the ‘this’ keyword here.
Conclusion
Stay tuned for more detailed explorations of these features as we approach the official release date. For a complete overview of all the upcoming features, check out the full release plan.
Vi presentiamo Berny Düring, il nostro Partner Technology Strategist per Business Central di Companial. Con oltre 27 anni di esperienza come formatore certificato Microsoft, Berny Düring apporta al suo ruolo una grande quantità di competenze e conoscenze. Dopo aver iniziato come Product Manager presso Navision South Africa e successivamente presso Microsoft, ha fondato un proprio Partner di successo. Entrato in Companial come affiliato nel mercato mediorientale-africano, Berny ha svolto ancora una volta un ruolo cruciale nel guidare i partner a crescere e sviluppare le loro pratiche di Business Central attraverso il tutoraggio e la formazione. Ha conseguito qualifiche in gestione aziendale, fiscalità, legge, gestione della catena di approvvigionamento e scienze informatiche.
Per saperne di più su Business Central
Companial SofTalk: Upgrades at Scale
In this episode of Companial SofTalk, Inga Levinskiene, Project Manager at Companial, dives into the topic of cloud migration, alongside ...
Per saperne di piùGOB Software & Systeme GmbH
GOB’s Transformation to Business Central Online and AI Readiness with Migration & Modernization Program
Per saperne di piùUpgrade and migrate to Microsoft Dynamics 365 Business Central Online ASAP! 2025 is coming!
More about the changes coming in 2025, which may impact your customers’ installations and make them vulnerable to operational, security ...
Per saperne di piùDiversifying Your ERP Portfolio: The Competitive Edge of Offering Microsoft Business Central
In today’s evolving ERP landscape, offering just one solution can limit your ability to meet diverse client needs. By diversifying ...
Per saperne di piùFrom ERP Expert to Market Leader: How to Build a Business Case for Microsoft Business Central
As an ERP expert, you’ve built a solid reputation by delivering reliable solutions. But with market demands changing rapidly, your ...
Per saperne di più