Increased maximum length of text and code fields, variables, and text constants

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Note

These release notes describe functionality that may not have been released yet. To see when this functionality is planned to release, please review What's new and planned for Dynamics 365 Business Central. Delivery timelines and projected functionality may change or may not ship (see Microsoft policy).

The maximum allowed characters for text and code type table fields, variables, and text constants has expanded. The new limits are as follows:

Table fields Code maximum specified length: 2048
Text maximum specified length: 2048
Variables Code maximum specified length: 2048
Text maximum specified length: 2048
Text constants Text constant maximum length: 2048

Note

Text variables still have an unlimited length if no length is specified. This is actually controlled by Int32.MaxValue.

Tell us what you think

Help us improve Dynamics 365 Business Central by discussing ideas, providing suggestions, and giving feedback. Use the Business Central forum at https://aka.ms/businesscentralideas.