As a provider of ERP solutions, you have the chance to lead your customers into the future with Microsoft Dynamics ...
Leer másFirst 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.
Conoce a Berny Düring, nuestro Partner Technology Strategist para Business Central en Companial. Con más de 27 años de experiencia como formador certificado de Microsoft, aporta una gran experiencia y conocimientos a su función. Empezó como Product Manager en Navision South Africa y posteriormente en Microsoft, para más tarde establecer su propio partner de éxito. Al unirse a Companial como franquiciado en el mercado de Oriente Medio y África, Berny volvió a desempeñar un papel crucial a la hora de guiar a los partners para que crecieran y desarrollaran sus prácticas de Business Central a través de la tutoría y la formación. Es licenciado en Gestión Empresarial, Fiscalidad, Derecho, Gestión de la Cadena de Suministro e Informática.
Más información sobre Business Central
Breaking Through Barriers: How to Attract New Clients and Expand into New Industries
For Microsoft Dynamics 365 Business Central partners, growth is both an opportunity and a challenge. Expanding your client base and ...
Leer másCompanial SofTalk: Upgrades at Scale
In this episode of Companial SofTalk, Inga Levinskiene, Project Manager at Companial, dives into the topic of cloud migration, alongside ...
Leer másGOB Software & Systeme GmbH
GOB’s Transformation to Business Central Online and AI Readiness with Migration & Modernization Program
Leer másUpgrade 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 ...
Leer másDiversifying 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 ...
Leer más