New Functionality In Microsoft Dynamics 365 Business Central 2025 Wave 1: Work with Multiline Strings in AL

Microsoft Dynamics 365 Business CentralThis post is part of the New Functionality In Microsoft Dynamics 365 Business Central 2025 Wave 1 series in which I am taking a look at the new functionality introduced in Microsoft Dynamics 365 Business Central 2025 Wave 1.

The 13th of the new functionality in the Development section is work with multiline strings in AL.

When developing AL, very long strings are sometimes used. Previously these had to be written in one line, making it hard to easily read content. In this release, Microsoft have added support for writing out strings spanning multiple lines, allowing developers to format the string content in a more human readable form. This especially helps when working with more structured string content, like JSON content.

Enabled for: Users, automatically
Public Preview: Apr 2025
General Availability: Apr 2025

Feature Details

You can now write a string in AL that spans multiple lines by prefixing it with @. This allows you to write the string in a more human readable form—for example, when the content is a structured format like JSON content.

When using this option, remember that any added white space (such as trying to indent lines) will become part of the string, and is therefore not recommended.

Below is an example of using this capability when assigning a JSON template structure to a text variable. Notice the use of @ at the beginning of the string to indicate a multiline string.

Example of using the new multiline string feature in AL

Click to show/hide the New Functionality In Microsoft Dynamics 365 Business Central 2025 Wave 1 Series Index

New Functionality In Microsoft Dynamics 365 Business Central 2025 Wave 1
Integrate Field Service With Service Management
View Item Availability In Field Service Work Orders
Analyze Subscription Billing Data With Power Bi Reports
Post Foreign Currency Adjustments To Unrealized Gain And Loss Accounts
Use Improved Troubleshooting Options for Cost Adjustments
Chat With Copilot To Learn How To Use Installed Add-On Apps
Summarize With Copilot
Use Sales Order Agent To Automate Sales Order-Taking
Suggest Gas Emissions In Sustainability Journals With Copilot
Enhance Purchase Order Line Matching With Copilot
Autofill Fields with Copilot
Automate Payables Processes with the Payables Agent
Use PEPPOL A-Nz Format In E-Docs In Australia, New Zealand
Define Allowed Languages Per Environment
Post Cash Documents to Projects in Czech Localization
Add More Text in Cash Documents in Czech Localization
Calculate and Post VAT Settlement by Activity Code – Italy
Enable Additional Countries and Regions
Install UK Localization as an Extension to the Base App
Calculate GST on Recurring Journals for India
Showcase Business Central with Czech Localization Demos
Comply with Australian Payment Times Reporting Bill
Use VAT Return to Report VAT in Local and Functional Currencies in Czech Republic
Use Modern Search to Access Data in Czech Localization
Hide Lines with Zero Quantity in Czech Document Reports
Move Tables And Fields With Data Across Extensions As Part Of Refactoring
Troubleshoot Clients, Apps, And Add-Ins With Telemetry
Mock Outbound HttpClient Web Service Calls During Testing
View Build Metadata In Extension Management Page
Embed Power BI Content In Web Client With New Page Type
Overloaded JsonObject Data Type GetValue Method
Extend CardPageId on List and ListPart Pages
Use the New Continue Keyword for AL Loops
Read and Write YAML in AL Using JsonObject
Select Extensions to Open in Visual Studio Code from the Web Client
Search, Navigate and Use App Symbols as Context for GitHub Copilot
Validate Certificates on External Web Service Endpoints Called from AL HttpClient
Work with Multiline Strings in AL
Use New Properties on a Report Layout
Delete Incorrect E-Documents And Avoid Duplicates
Activate Sales Channels In Shopify Connector
Use E-Docs With Power Automate And Other Solutions With APIs
Send E-Documents Via A Service And Email Simultaneously
Import And Export More Data Using Shopify Metafields
Use Payments With The E-Document Framework
Troubleshoot Export Issues On Shopify Skipped Records Page
Generate Multiple Incoming E-Documents For Multiple Attachments
Automate Embedded Attachments In PEPPOL
Create E-Documents From Posted Sales Invoices
Process E-Documents In Two Steps
Preview Incoming E-Invoices Prior To Processing
Export Reminders And Finance Charges As PEPPOL Files
Use E-Documents To Fix Unposted Purchase Credit Memos
Add Support For Multisubnetfailover
View App Compatibility With Future Versions In Admin Center
Update Sandbox Environments To Preview Versions
Automate Environment Management With Power Platform Connector
Use Enhanced Analytics For Manufacturing
Access Report And Request Metadata In Word Layouts
Use Enhanced Financial Reporting Capabilities
Use Enhanced Customer Document Layout For Service Management
Add More Columns To Various Pages To Gain More Insight
Block Items Or Variants From Production Output
Avoid Document Number Errors When You Post Project Journals
Handle Production Output With Warehouse Put-Aways
Use Streamlined Product Design Tools In Manufacturing
Manage Document Attachments In Manufacturing
Generate A CSRD Preparation Report
Specify Default Sustainability Values For Various Entities
Enable Taxonomy Elements For ESRS And Other Standards
Capture Sustainability Data With General Journals
Use Water And Waste Management With Sustainability
Enable Sustainability Scope 3 Value Chain For Assembly And Transfers
Provide Carbon Equivalent Data For Sales Based On Scope 3 Automation
Use ESG Reporting Integrated With Business Central
Start Value Chain In Purchase Process For Scope 3 In Sustainability
Use Sustainability Scope 3 Value Chain In Manufacturing
Preview PDF Attachments Directly In Web Client
Optimize Screen Estate Usage On The Web

What should we write about next?

If there is a topic which fits the typical ones of this site, which you would like to see me write about, please use the form, below, to submit your idea.

Your Name

Your Email

Suggested Topic

Suggestion Details

Leave a Reply

Your email address will not be published. Required fields are marked *