Skip to main content

From the Microsoft Dynamics 365 Business Central blogs: SecretText support; Actionable errors; Upcoming features; Connect with D365 Sales

by MSDW Reporter
Editorial Team,

In this week’s Dynamics 365 Business Central blog roundup:

  • Isolated storage and SecretText support
  • Error handling with actionable errors in Business Central
  • New and upcoming features in Business Central in January 2024
  • How to connect Dynamics 365 Business Central and Dynamics 365 Sales through the Dataverse connector with Power Automate

Dynamics 365 Business Central: isolated storage and SecretText support

Writing on his blog, Stefano Demiliani noted that with Microsoft Dynamics 365 Business Central 2023 Wave 2 release (version 23) Microsoft introduced a new data type called SecretText. He pointed out that this new data type is useful to protect secrets in AL code from being revealed through debugging (a SecretText variable is always displayed as <HiddenValue> during a debugging session).

However, Demiliani stated that he thinks that the SecretText data type is an example of things that are introduced in the AL platform much too soon. He explained that currently you can use it with the HttpClient object for sending HTTP requests to an external endpoint by securing credentials and endpoints.

However, he wrote that you can't use this new data type for storing secrets in the isolated storage natively. He noted that he has received some questions from partners about this.

The Isolated Storage module currently does not support the SecretText data type but only Text parameters. Current plan is to have full support for SecretText in Isolated Storage methods in Dynamics 365 Business Central version 24 (2024 Wave 1 release) with new method overloads that will permit to pass a SecretText parameter to the Isolated Storage, but these new methods will not be backported.

In his blog post, Demiliani explained what you can do now to handle this issue.

Error handling with actionable errors in Business Central

FREE Membership Required to View Full Content:

Joining gives you free, unlimited access to news, analysis, white papers, case studies, product brochures, and more. You can also receive periodic email newsletters with the latest relevant articles and content updates.
Learn more about us here

About MSDW Reporter
More about MSDW Reporter