The Business Central 2024 release wave 2 went live on October 1st and with it the launch event was kicked off with videos on the latest innovations for Business Central. These videos contain high-quality content presented by product leaders to enable you to learn how to take Business Central to the next level as a developer. Visit the Business Central Youtube channel to see what is available. We've produced a lot of content, and we guarantee you that it will be worth the time you invest in it.
If you're a developer, we'd suggest the following titles to get you started on the latest additions and improvements:
What's new in AL - Language
What's new in AL - Interfaces
What's new in AL - Dependency Publishing
What's new in AL: Easy access to source code with Open In VS Code and GitHub projects
What's new: Analyze performance issues with scheduled profiles
What’s new: Data search improvements (for developers)
Embedding resources in applications
What’s new: Reporting features (for developers and consultants)
What’s new: Enhanced document reporting features (for developers)
What's new: Business Central integration with Power Platform including Power BI (for developers)
What's new in AL-Go for GitHub
What's new: Run page scripts in CICD pipelines
What's new in the Co-Development initiative
Learn about the latest usability and productivity improvements in the Business Central web client:
What's new: Business Central user experience
If you're interested in AI and Copilot, consider diving more into the topic with these sessions:
What's new: Extending Copilot in Business Central
What's new: Setting up Copilot in Business Central - tips for admins
What's new: Testing Copilot in Business Central
For content about environment management, we suggest you watch the following videos:
What's new: Auditing In Purview
What's new: Customer-managed encryption key & Lockbox
What's new: Environment-level access controls for delegated administrators
What's new: Flexible update management
Watch content about new integration functionality in these videos:
What's new: Business Central integration with Power Platform including Power BI
What's new: Auto-applying templates in integration with Dataverse
What's new: Power BI reporting for Business central - new apps
With Copilot in Business Central, we've worked hard to provide productivity tools that help users be more effective in their work. The following videos dive into how Copilot can help get work done in Business Central:
Introducing: Copilot for Finance: Why is this a game changer
What's new: Suggest Number Series with Copilot
What's new: Analysis assist with Copilot in 2024 release wave 2
What's new: Item Substitution with Copilot
What's new in Sales Lines suggestions with Copilot
And for more videos on all of the new functionality in the application, consider these videos:
What's new: Subscription Billing
What's new: Concurrency in Warehousing
What's new: Enhancements to Job Queue
What's new: Get notified of issues with Job Queues
What's new: Field Service Integration to Service Management
What's new: Financial analytics
What's new: Project and Service management
What's new: Shopify Connector
What's new: Financial Management
Introduction in Multiple VAT Numbers for Customers
What's new in E-Documents
What's new in Sustainability
We hope you'll find this useful. If you have any feedback, please let us know.
2024-09-05 Get your AppSource and per-tenant apps ready for the next major release (2024 release wave 2)
We're approaching yet another major release, and as developers and solution architects, you play a pivotal role in ensuring a seamless upgrade experience for our shared customers. Here we want to repeat some of the key best practices for getting ready for the new major release, and call out some changes for AppSource apps from this release going forward.
As for previous releases, one month before the next major release (i.e., from today), we no longer accept AppSource app submissions that are incompatible with the upcoming version. Thus, please start identifying and addressing compatibility issues already now, to handle them proactively, avoiding last-minute firefighting and disruption. If your AppSource submission fails, we push detailed results to the AppInsights for the AppSource app, if that has been provided in the app.json file. You can read more about how to do that and available submit signals here: Analyzing AppSource submission validation telemetry.
We also start checking the existing, installed AppSource apps for compatibility with the next major release. In previous releases we published validation results to a public URL where you could check results for you app by providing an appId, but we're no longer supporting this. Instead, we also publish these results to a provided AppInsights for the AppSource app. The relevant signals here are LC0230
to LC0237
.
As a best practice, however, don't just rely on checking the results of our validation, but perform your own, in your pipelines. For more information, see documentation on technical validation.
In our recent release, we introduced the ability to hotfix older versions of AppSource apps. This means you can continue patching your apps for previous Business Central versions while simultaneously working on the new version targeting the next major release. Your customers running on the previous versions of your apps will therefore not be left behind and get the support they need. Find more information about hotfixing AppSource apps here.
Again, as for previous releases, one month prior to the major release (i.e., now), our system starts notifying customers when their per-tenant extensions are incompatible with the next major release. The notifications are sent via email, to the recipients registered in Business Central Admin Center and via messages in the Microsoft 365 Message Center. Use this information to prioritize fixing your per-tenant extensions, to avoid the risk of disruptions, escalations and dealing with requests to postpone updates. Find more information about our per-tenant validation here.
Business Central makes a preview version available that allows you to create a sandbox environment available for all customers, one month prior to the major release date. Use this option to upload and test your extensions proactively. Read more about preview environments here.
Business Central provides both AppSource and per-tenant extension builders with an easy to use, rich and secure DevOps solution: AL-Go for GitHub. Find more information here.
Among many other capabilities, AL-Go for GitHub allows developers to easily check compatibility of their apps with any upcoming version, whether minor or major, in real-time with these changes being introduced by Business Central team. Start using this solution or other DevOps solutions available in the Business Central ecosystem to handle compatibility proactively.
By adhering to these technical best practices, you contribute to a thriving ecosystem. Prepare early, prioritize quality, and deliver exceptional solutions to our mutual customers. Thank you for helping us shape the future of Business Central!
More information:
- Maintain AppSource apps and per-tenant extensions
- Lifecycle of apps and extensions
- Update Lifecycle for Tenant Customizations
- Technical validation FAQ
DevOps is a vital part of every development project and helps ensure consistency and quality of your solutions. In Business Central we're currently running a survey to assess, which DevOps solutions partners are using, and what challenges they're facing.
Please join our survey and provide your feedback here, before June 18, 2024: Survey
In April 2024, the Business Central 2024 release wave 1 launch event went live with videos on the latest innovations for Business Central to you through an all-access digital experience. They contain high-quality content presented by product leaders to enable you to learn how to take Business Central to the next level as a developer. All 100% free. All you need to do is to visit the Business Central Youtube channel and then set aside time to learn and digest. There's a lot of content, so maybe set aside 20 minutes every morning before you open your email. We guarantee you that it will be worth the time.
These are the sessions that we think are most relevant for you as a developer and where you should start your learning journey:
- What's new: Developer tools
- What's new: Extending Copilot using AL code
- What's new: Designing generative AI experiences
- What's new: Key updates in our learning content (documentation) for developers
- What's new: Excel layouts for developers
- What's new: Introducing the Business Foundation and the No. Series module
- What's new: Going Open Source with the new GitHub repository for Business Central
- In preview: User acceptance testing with the Page Scripting tool
If AI and Copilot rock your boat, consider diving more into the topic with these sessions:
- Introducing: Chat with Copilot
- Introducing: AI-powered analysis with Copilot
- Introducing: Sales lines suggestions with Copilot
- What's new: Extending Copilot using AL code
- What's new: Designing generative AI experiences
You might also want to dive deeper into the Business Central platform, and learn about the server, database, resource governance (in the online version of Business Central), and troubleshooting with telemetry:
After you've seen/browsed those sessions, consider spending some time in the Application track. We think that these sessions are particularly useful for developers (or you can just be a hero and send some links to your functional consultant friends):
- What's new: Excel reports for finance and sales
- Introducing: Sustainability in Business Central
- What's new: E-Documents
- What's new: Cost Adjustment
- What's new: Service Management
- What's new: Project Management
- What's new: Financial management - Overview
- What's new: Financial management - Reminder Automation
- What's new: Financial management - G/L Account Revaluations
- What's new: Entering and approving time sheets
- What's new: Business Central Mobile App and Barcode Scanning
- What's new: Automated IRS1099 reporting
- What's new: The Danish Bookkeeping Act
If you want to dive more into ways to integrate Business central with other services, such as Microsoft Power Platform, Power BI, Microsoft 365, or Shopify, then check out these sessions:
- What's new: Key updates in learning content (docs) for systems architects and integration developers
- What's new: Business Central Integration with Power Platform
- What's new: Using Power Pages with Business Central
- What's new: Business Central Integration with Dataverse
- What's new: Shopify Connector B2B Functionality
- Introducing: Dynamics 365 Field Service Integration with Business Central
- Introducing: Create Power Automate flows with Copilot
If you also spend time administering environments, check this out session:
That's all folks! Go learn. Get smart. Be awesome. Help customers.
2024-03-12 Want to know how things work? Learn how Business Central integrates to other Microsoft services and products
As developers and solution architects, developing in AL is likely only part of your job. In a world where customers operate in the cloud, integration to other Microsoft services and products is an increasingly important part of Business Central implementations. As children, many of you probably asked a lot of “how does that work?” questions and might have read the book “The way things work” by David Macaulay to satisfy your curiosity. In the Business Central product group we're no different and we asked ourselves: “Why not write the: The way Business Central integrations work" article to give an overview on, which integrations are currently possible and how they work.
We added new content on the following topics:
- Overall integration overview
- Integrations to Office/M365
- Integrations to Power Platform
- Integrations to Dataverse
- Integrations to Azure
- Integrations to infrastructure services
Want to check it out? Then start by visiting the new overview article aka.ms/bcintegration.
That's all for now, folks!
Most of these suggestions we added because you gave us feedback on things you'd like to see in this part of docs. Keep the feedback coming, together we can make docs a really useful tool for AL developers.
2024-02-28 Working on AppSource apps and per-tenant extensions? Get ready for the next major release
As developers and solution architects, you play a pivotal role in shaping the Business Central ecosystem. We count on you to facilitate a seamless experience for our shared customers as they move to the upcoming major release. Here we want to list some of the key best practices for getting ready for the new major release.
One month before the next major release, we cease accepting AppSource apps that are incompatible with the upcoming version. Please start identifying and addressing compatibility issues already now, to handle them proactively, avoiding last-minute firefighting and disruption.
We also start checking the existing AppSource apps for compatibility with the next major release, and publish validation results weekly to a public URL (aka.ms/readyForNextMajor?appId=<appId>)
, making it easier for you to assess your app’s readiness for the next release. However, as best practice, don't just rely on checking the results of our validation, but perform your own, in your pipelines. For more information, see documentation on technical validation.
In our recent release, we introduced the ability to hotfix older versions of AppSource apps. This means you can continue patching your apps for previous Business Central versions while simultaneously working on the new version targeting the next major release. Your customers running on the previous versions of your apps will therefore not be left behind and get the support they need. Find more information about hotfixing AppSource apps here.
Also, one month prior to the major release, our system starts notifying customers when their per-tenant extensions are incompatible with the next major release. The notifications are sent via email, to the recipients registered in Business Central Admin Center and via messages in the Microsoft 365 Message Center. Use this information to prioritize fixing your per-tenant extensions, to avoid the risk of disruptions, escalations and dealing with requests to postpone updates. Find more information about our per-tenant validation here.
Business Central makes a preview version available that allows you to create a sandbox environment available for all customers, one month prior to the major release date. Use this option to upload and test your extensions proactively. Read more about preview environments here.
Business Central provides both AppSource and per-tenant extension builders with an easy to use, rich and secure DevOps solution: AL-Go for GitHub. Find more information here.
Among many other capabilities, AL-Go for GitHub allows developers to easily check compatibility of their apps with any upcoming version, whether minor or major, in real-time with these changes being introduced by Business Central team. Start using this solution or other DevOps solutions available in the Business Central ecosystem to handle compatibility proactively.
By adhering to these technical best practices, you contribute to a thriving ecosystem. Prepare early, prioritize quality, and deliver exceptional solutions to our mutual customers. Thank you for helping us shape the future of Business Central!
- Maintain AppSource apps and per-tenant extensions
- Lifecycle of apps and extensions
- Update Lifecycle for Tenant Customizations
- Technical validation FAQ
Over the last weeks, we've worked on improving the developer documentation for Word layouts in Dynamics 365 Business Central.
You find the all the Word layout content in the developer docs in the table of contents under Development, choose Programming in the AL language, then Developing reports, Report layouts, Excel, Word, and RDL report layouts and then Creating an Excel layout report.
So what did we do? Well, quite a lot...
We added new content on the following topics:
- How to iterate a Word layout over a dataitem (also expanded the article on how WordMergeDataItem works)
- How to create a new Word layout from Visual Studio Code
- How to do totals
- How to use headers/footers, sections, and watermarks
- How to use fonts
- How to use hyperlinks
- How to use tables to control alignment of text and images
- How to work with pictures in Word layouts
- Changing layout properties such as margins or orientation
- Designing layouts for precision printing
- How to use the same table style for all tables in the layout
- Design guidelines for a report dataset designed for Word layouts
- Difference between RDL and Word layouts
- More content on how to use Office document themes
- How to use tables to display data from the report dataset (simple repeaters)
- How to use lists to display data from the report dataset (simple repeaters)
- How to use nested repeaters to display data from nested dataitems in the report dataset
- How to do sub totals/running totals
- How to do conditional formatting
- Operational limits for reports with Word layouts
- How to convert an RDL layout to a Word layout
Want to check it out? Then start by visiting the Creating an Word layout report article.
That's all for now, folks!
Most of these suggestions we added because you gave us feedback on things you'd like to see in this part of docs. Keep the feedback coming, together we can make docs a really useful tool for AL developers.
Over the last months, we've worked on improving the developer documentation for error handling in Dynamics 365 Business Central.
You find the all the error handling content in the developer docs in the table of contents under Development, choose Programming in the AL language, and then Error handling.
So what did we do? Well, quite a lot...
- All articles related to error handling (that we're aware of) are now present under Error handling in the table of contents.
- All articles about error handling (that we're aware of) have been updated to reflect latest language features and to include AL example code.
- New article Failure modeling and robust coding practices with two techniques that you can use to make your code more robust towards errors: failure modeling and robust coding practices.
- Article Understanding the error dialog is updated with a section on how to understand the information in Copy details section. Also a new section explaining how to understand a AL stack trace.
- New article User experience guidelines for errors that offers guidance on how to formulate good error messages, both for older versions of Business Central and for versions supporting the actionable errors framework.
- New article Actionable errors that offers guidance on how to handle error dialogs in AL code, specifically how to use the actionable errors framework to provide recommended actions to users to resolve errors more effectively.
- All four articles for telemetry related to errors are available in the Error telemetry part of the table of contents.
- All articles from the AL Language reference documentation (related to error handling) are present in the table of contents and all reference articles have been updated to reflect latest language features and to include examples of robust coding practices.
- All articles from the Base App reference documentation (related to error handling) are also present in the table of contents.
Want to check it out? Then start by visiting the new Error handling overview.
That's all for now, folks!
Most of these suggestions we added because you gave us feedback on things you'd like to see in this part of docs. Keep the feedback coming, together we can make docs a really useful tool for AL developers.
With the latest refresh of the documentation, we've added content on how to build a copilot user experience for Business Central. Read about the developer tools, how to get set up with Azure OpenAI service, and how to build the copilot capability and experience in Business Central.
Get started with the Integrating AI using Developer Tools for Copilot landing page. And check out the refreshed System application documentation.
We hope you'll find this useful. If you have any feedback, please let us know.
Over the last months, we've worked on improving the developer documentation for reporting in Dynamics 365 Business Central.
You find the all the reporting content in the developer docs in the table of contents (TOC) under Development, choose AL Language, and then Developing reports.
So what did we do? Well, quite a lot...
- All articles related to reporting (that we're aware of) are now present under Developing reports in the TOC.
- All articles about reports (that we're aware of) have been updated to reflect latest language features and to include AL example code.
- New content on how to format report data (both TOC entry and a new article).
- The Report layouts section in the TOC now also includes all layout articles from the user part of the Business Central documentation.
- New content on report discoverability added (both a new TOC entry and a new article).
- New article on report troubleshooting added.
- All articles from the AL Language reference (related to reports) are present in the TOC and all reference articles have been updated to reflect latest language features and to include examples of robust coding practices.
Want to check it out? Then visit the Reports overview. And don't miss the latest blog post on LinkedIn about The world is changing (in Business Central reporting).
That's all for now, folks!
Most of these suggestions we added because you gave us feedback on things you'd like to see in this part of docs. Keep the feedback coming, together we can make docs a really useful tool for AL developers.
Then read on here. As you move forward with exploring generative AI, we’ve published a couple of articles to get you started. There's a new article for the PromptDialog page type and we've also updated the reference documentation for the following properties:
This serves as a starting point for other documentation that we’ll be shipping on how to get started developing a generative AI solution with Business Central.
Remember that you can go to the aka.ms/BCTech repo to discover more and maybe get inspired.
At Directions EMEA 2023, the keynote presentations demonstrated how Business Central has integrated AI to enhance productivity. Check these recordings out here.
Stay tuned!
We've just refreshed the system and base application reference documentation for Business Central version 23, (base application version 23.0.12034.12416, system application version 23.0.12034.12416).
This refresh includes namespaces and the system level as well. To browse the reference library, go to System and Base Application Reference for Dynamics 365 Business Central.
In October 2023, Business Central 2023 release wave 2 launch event went live with videos on the latest innovations for Business Central to you via an all-access digital experience. They contain high-quality content presented by product leaders to enable you to learn how to take Business Central to the next level as a developer. All 100% free. All you need to do is to sign up and log in at the event site aka.ms/bcle and then set aside time to learn and digest. There's a lot of content, so maybe set aside 20 minutes every morning before you open your email. We guarantee you that it will be worth the time.
These are the sessions that we think are most relevant for you as a developer and where you should start your learning journey
- What's new in Developer Tools
- What's new in AL-Go for GitHub
- What's new: Performance testing before go-live with Performance Toolkit
- What's new: Power BI and reporting (for developers)
You might also want to dive deeper into the Business Central platform, and learn about the server, database, resource governance (in the online version of Business Central), and troubleshooting with telemetry
- What's new in Server and Database - a faster runtime
- What's new in Server and Database - a faster data stack
- What's new in Server and Database - more stable web services
- What's new in Server and Database - new reporting capabilities
- What's new in resource governance for Dynamics 365 Business Central online
- What's new in telemetry
After you've seen/browsed those sessions, consider spending some time in the Application and Onboarding and user experience tracks. We think that these sessions are particularly useful for developers
- Creating customer centric onboarding experiences
- What's new: Add existing field in pages
- What's new: Productivity features in the web client
- Introducing Analyze data on lists on queries
If you want to dive more into ways to integrate Business central with Microsoft Power Platform, Power BI, and Microsoft 365, then check out these sessions
- What's new: Business central integration with Power Platform
- What's new in Dataverse and Dynamics 365 app integration - Part 1
- What's new in Dataverse and Dynamics 365 app integration - Part 2
- What's new: Power BI and reporting (for developers)
That's all folks! Go learn. Get smart. Be awesome. Help customers.
Join the product team on October 10-12th, 2023 to see what’s new in Dynamics 365 Business Central 2023 release wave 2 at the Business Central Launch Event; a free virtual event for everyone from reselling partners to consultants, and ISV partners.
We're hosting live Q&As on these topics that might interest you as a developer:
- What's new in developer tools
- What's new in AL-Go for GitHub
- What's new: Performance testing before go-live with Performance Toolkit
- What's new: Power BI and reporting (for developers)
- Creating customer-centric onboarding experiences
- Add an existing field
- What's new in server and database
- What's new in resource governance for Dynamics 365 Business Central online
- What's new in telemetry
- What's new in Dataverse and Dynamics 365 app integration - Part 1
- What's new in Dataverse and Dynamics 365 app integration - Part 2
Join us! Register today at aka.ms/BCLE.
We just updated the release notes for Business Central 2023 release wave 2, and with the preview coming out soon, this is a perfect time to get updated on the development additions, try them out and provide feedback.
First, you can now very easily get the latest build of the AL Language for Microsoft Dynamics 365 Business Central, directly from the Visual Studio Code Marketplace, by simply just switching between public and pre-release versions.
Get the AL Language extension in pre-release versions on Visual Studio Code Marketplace
Namespaces have finally arrived, and will make it easier to structure apps, create better object names, and avoid identifier clashes, and eventually in a later release allow moving away from affixes. First party apps have uptaken namespaces, and the AL Explorer allows filtering to view objects by namespace.
Segment AL code and reduce naming conflicts with namespaces
We know it can be challenging and tedious to set up Visual Studio Code for an environment to investigate or troubleshoot. With this release, developers and consultants can now easily provision a matching Visual Studio Code for a production or sandbox environment directly from within the web client.
Open Visual Studio Code from web client to investigate or troubleshoot extensions
Our built-in rich text editor supports all media fields in Business Central, and developers can also customize rich text capabilities for their extensions and applications.
Use the built-in rich text editor to enter data
Field group extensibility is one of our larger and highly voted gaps, and in this release we have added the ability to define field groups in table extensions for tables not originally having a field group.
Add a new FieldGroup to an existing table
To help you protect specific variable data so that other parties can't access it during debugging, we have introduced a SecureText type. Use SecretText type to protect credentials and sensitive textual values from being revealed in debug sessions
We have also added a number of IntelliSense additions and project features to help your everyday productivity.
- Get inlay hints in source editor for AL method parameters and return types
- Hover over label variable to see text string value
- Get IntelliSense for adding variables in Visual Studio Code AL debugger console
- Get smarter method signature recommendations in IntelliSense
- Show list of keys while working on AL code
- Set new output folder setting for storing app files at AL project build
When it comes to data analysis and reporting, we give you have more control, you can now turn off Analysis Mode on pages and specify how to embed content from Power BI.
Turn off data analysis mode on pages and queries
For AppSource, the first wave of transact support with per-user licensing and credit card purchase in the AppSource Marketplace will release to public. Later this fall we are enabling ISVs to organize a preview for their AppSource apps for a controlled audience of their customers.
- Sell Business Central apps through AppSource
- AppSource ISV publishers can preview their AppSource apps with select customers
That is already a comprehensive list, but wait, there is even more! Next round of release notes will include entries for the following:
- AL Extension for Linux in preview - in fact this is already out, just install the extension from Visual Studio Code Marketplace in your Visual Studio Code installation on Linux.
- ALDoc preview for partners, read more about that here Generating help with the ALDoc tool.
- AL syntax highlighting for DevOps.
- Teaching tooltips on report request pages.
- Set the default folder location for new AL projects.
- Track source and build metadata from DevOps pipelines in extension app.json.
- Choose between more sampling intervals for snapshot and in-client profiling.
- Use Find all references for triggers, system methods, and trigger events on page fields, table fields, page actions, and table methods/triggers/events.
Over the last months, we've worked on improving the developer documentation for how to use the HttpClient data type to do outgoing web calls from AL in Dynamics 365 Business Central.
First of all, we made the topic a first class citizen in the developer docs, by adding a new section in the table of contents (TOC) under AL Platform plus a new overview article, where we did the following:
- Explain high-level details on how to set up an external call (including how to use request and content headers), run it, and parse the result from the service. All three sections come with sample AL code that also tries to showcase how to write AL code, which is resilient towards failures.
- Document the supported HTTP methods (and this information is reused in relevant other pages).
- Explain HTTP status codes and include a troubleshooting guide on common HTTP status codes for client errors (4xx).
- Show how you can use certificates in your requests.
- Explain how to troubleshoot outgoing web calls with telemetry.
- Give guidance on performance impact for UI sessions of outgoing calls.
For more information, read more in Call external services with the HttpClient data type.
Second, we updated the existing overview article for the HttpClient data type with a new section on how HttpClient calls can fail and why it's important to react to return values of the methods HttpClient.Delete, HttpClient.Get, HttpClient.Post, HttpClient.Put, or HttpClient.Send. We also highlight how AllowHttpClientRequests works in online sandboxes. Read more here.
Third, the existing article on the HttpContent data type got a new section on content headers, including the information that we always have a default content header for Content-Type
, namely text/plain; charset=utf-8
. Read more on the HttpContent data type.
Fourth, each of the existing articles on the methods HttpClient.Delete, HttpClient.Get, HttpClient.Post, HttpClient.Put, and HttpClient.Send methods got two new sections:
- Ways that HttpClient.XXX calls can fail
- Example sample AL code
The only two exceptions are the articles for HttpClient.Send and for HttpClient.Post:
- For HttpClient.Send, the generic examples shows how to do HTTP
PATCH
requests as this HTTP method currently doesn't yet have its own wrapper method. For more information on Httpclient.Send, see here. - For HttpClient.Post, we threw in examples on how to use multipart/form-data in two examples on how to upload/stream files (either text or binary files). For more information on Httpclient.Post, see here.
That's all for now, folks!
Most of these suggestions we added because you gave us feedback on things you would like to see in this part of docs. Keep the feedback coming, together we can make docs a really useful tool for AL developers.
In April 2023, Business Central 2023 release wave 1 launch event went live with videos on the latest innovations for Business Central to you via an all-access digital experience. High-quality content presented by product leaders to enable you to learn how to take Business Central to the next level as a developer. And it's all for free. All you need to do is to sign up and login at the event site aka.ms/bcle and then set aside time to learn and digest. There's a lot of content, so maybe set aside 20 minutes every morning before you open your email. We guarantee you that it will be worth the time.
These are the sessions that we think are most relevant for you as a developer and where you should start your learning journey:
- What's new in VS Code and AL
- What's new in Server and Database
- What's new in telemetry
- What's new in AL-Go for GitHub
- Introducing AppSource transactability for Business Central apps
After you have seen/browsed those sessions, consider spending some time in the Application and user experience track. We think that these sessions are particularly useful for developers:
- What's new: Work more productively with actions
- Introducing data analysis
- What's new in the web client
If you want to dive more into ways to integrate Business central with Microsoft Power Platform and Microsoft 365, then check out these sessions:
- Introducing: Best practices for building Power Apps based solutions for Business Central
- What's new in Power Platform integrations
- What's new in Virtual Table for Microsoft Dataverse
- What's new in Power Automate and approval workflows
- What's new in Teams integration
And if you also work with tenant administration, go check out these videos related to Governance and administration:
That's all folks! Go learn. Get smart. Be awesome. Help customers.
2023-08-18 Introducing ALDoc: a new command line tool for generating reference documentation for AL extensions
It’s our pleasure to announce that with the latest Pre-Release update of the AL Language extension for Microsoft Dynamics 365 Business Central, we have included the ALDoc tool for partners. The ALDoc tool generates documentation from symbolic and syntactical information, code comments, and overall application structure based on input .app file(s). Use it to generate internally or externally facing reference documentation for your solution. The tool also generates a help site with the reference articles, sorted by the application structure, based on the provided template.
Read more about the tool in our docs Generating help with the ALDoc tool
We’d love to hear what you think, use https://github.com/microsoft/AL/issues for tool feedback.
The AL Language extension Pre-Release versions are now available through the existing Visual Studio Code mechanism for getting notified about and installing Pre-Release versions. To learn more about this mechanism, visit Prerelease Extensions in the Visual Studio Code documentation.
To install the Pre-Release Version, use the drop-down to select Install Pre-Release Version, or if already installed, use the Switch to Pre-Release Version option in the Visual Studio Code extension management page for the AL Language extension.
When you have switched to the Pre-Release version, the Visual Studio Code extension management page for the AL Language extension will display that the Pre-Release is used, and offer the option to switch back to the Release Version.
Let's bootstrap your AI journey with Azure OpenAI! We've shared some sample code as an extension that enables you to explore the possibilities of large-scale language models (LLM). This code is designed to simplify the process of setting up and running LLM experiments, starting with easily configuring and testing your connection to the Azure OpenAI service. After that, you can extend your AL logic to do more exciting things with this code. The sample code uses Azure OpenAI to suggest an item category based on the item description field.
The extension's source code is available at the Business Central BCTech repository on GitHub. You can get to it directly at https://aka.ms/BCStartCodingWithAI. You can either download or install the sample extension to your sandbox environment or clone the source code for your own projects.
The product team is eager to hear your feedback on how we can support your use cases and help you design, build, and deliver AI solutions quickly and responsibly in the AI era: community partners are invited to join us at the Copilot and AI Innovation group on our Yammer development network.
Happy experimentation!
The Business Central product team
AL comes with built-in data structures that have been optimized for performance and server resource consumption. Make sure that you're familiar with them to make your AL code as efficient as possible.
When working with strings, make sure to use the TextBuilder
data type and not repeated use of the +=
operator on a Text
variable. General guidance is to use a Text
data type if you concatenate fewer than five strings (here the internal allocation of a TextBuilder
and the final ToText
invocation is more expensive). If you need to concatenate five strings or more or concatenate strings in a loop, then TextBuilder
is faster. Also, use a TextBuilder
data type instead of BigText when possible. For more information, see TextBuilder Data Type.
If you need a key-value data structure that is optimized for fast lookups, use a Dictionary
data type. For more information, see Dictionary Data Type.
Use a List
data type if you need an unbound "array" (where you would previously create a temporary table object). For more information, see List Data Type.
Use the Media
or MediaSet
data types instead of the Blob
data type. The Media
and MediaSet
data types have a couple advantages over the Blob
data type when working with images. First of all, a thumbnail version of the image is generated when you save the data. You can use the thumbnail when loading a page and then load the larger image asynchronously using a page background task. Second, data for Media
and MediaSet
data types is cached on the client. Data for the Blob data type is never cached on the server. It's always fetched from the database.
For more information about performance tips and tricks for developers, see Performance Articles For Developers.
To send telemetry data to Azure Application Insights, you must have an Application Insights resource in Azure. Once you have the Azure Application Insights resource, you can start to configure your apps/extensions to send telemetry data to it by setting the telemetry connection string in your app.json configuration file. See Sending App/Extension Telemetry to Azure Application Insights for details.
On the overview page Telemetry by area, you can see what type of data you can expect to get for your app/extension. Note that you get this data for all customers across the install base of the app/extension.
What does it cost to have telemetry enabled? It depends on how much data you ingest. Please review the article Controlling Telemetry Cost to learn about cost of your telemetry and strategies for controlling it.
Update: Fix will be available in v1.78.2.
The Visual Studio Code v1.78 update contained a change that has impacted debugging for multiple different Visual Studio Code extensions, including AL.
The impact of this is that the debugger stops at the first breakpoint and then hangs.
On the AL side, the issue is tracked by microsoft/AL/issues/7388.
Visual Studio Code is currently in the process of reverting the cause, tracked by microsoft/vscode/issues/181485. They expect that the change will be in the Insider build on Wednesday May 10th, and that there will be a fixed v1.78.2 by the end of the week.
In the meantime, the Visual Studio Code team recommends that you downgrade to Visual Studio Code v1.77.3 and turn off automatic upgrades for Visual Studio Code, by adding "update.mode": "manual" (or none) to your settings.
You're reading this in one of the two new views added to the AL Language extension for Microsoft Dynamics 365 Business Central, namely AL Home and AL Explorer.
The AL Home shows news related to developing in AL for Business Central. It'll be used to share news, best practices, upcoming events, urgent information and status, and learn content.
The AL Explorer lets you easily browse your objects and the ones coming from apps in your dependencies. It's structured into four sections with the focus on extensibility points. These sections are: Objects, Events, Apis, Extensible Enums.
- Objects: Contains a collection of all the codeunits, tables, pages, pageextensions, reports, etc.
- Events: Contains the integration and business events made available to be subscribed to.
- Apis: Provides all the API pages.
- Extensible Enums: These are all the enums, which are extensible and that implement an interface.
In order to easier find what you are looking for, the AL Explorer provides search functionality to filter down the list based on the ID or Name. It also has Grouping options, which is fitted to match each section. The last option is to filter based on your bookmarked objects, the project in your workspace you want to target, or the app from your dependencies you want to explore.
Some of you might recognize the look and feel of the AL Explorer's grid. It is built using the same component as analysis mode in the web client, which provides some capabilities that can be good to know.
- Sort using multiple columns by holding down shift you can click one column after the next one to set up the order of sorting done.
- In the webclient it is possible to define a freeze pane, and the same functionality is possible here, by dragging a column to the top right or left, and holding it there for a moment.
- Resizing columns can either be to the column on the left by default or to the one on the right, by holding down shift.
- You can also reorder the columns to your liking by drag and dropping them.