Dynamics Business Central / NAV Developer Digest - Vol. 495

Dynamics Business Central / NAV Developer Digest - Vol. 495

ArcherPoint’s Developer Digest focuses on Microsoft Dynamics 365 Business Central and Dynamics NAV development. This week’s volume includes using the Dictionary data type in AL, managing cookies in BC 24, writing data to Azure Share using SAS, and this week’s funny.

The Dynamics 365 Business Central community, consisting of developers, project managers, and consultants, collaborates across various platforms to share valuable insights. At ArcherPoint, we greatly value their dedication and expertise. To ensure widespread access to this technical knowledge, we created Developer Digest.

Look it up! Using Dictionary data types

The Dictionary data type in AL stores unordered key-value pairs for fast lookup. Dictionaries are indexed by keys rather than a range of numbers. Each key must be unique and cannot be null.

Developers can use the Dictionary data type to store and retrieve values efficiently without repeatedly querying the database.

Brad Prendergast provides a helpful tutorial on using dictionaries in AL.

See Microsoft’s discussion of the Dictionary Data Type to learn more.

Losing your cookies

Erik Hougaard has discovered an interesting…um…software feature…in BC24: When using cookies, code that works in BC23 fails in BC24.

It turns out that cookies are not preserved in subsequent page requests in BC24 unless the UseResponseCookies parameter is set correctly.

Check out Erik’s video, Cookies in AL coming back to bite you!

Learn more about the UseResponseCookies() method.

Save BC data to Azure Share using SAS

Microsoft’s Azure Storage platform offers highly available, secure, and scalable storage for a variety of data objects and is accessible from anywhere in the world. Azure Data Share is a simple way to share your data using Azure Storage.

Roberto Stefanetti shows how to access Azure Storage from Business Central by mounting the resource as a disk drive. This allows Business Central to read and write to the resource directly from AL code using Shared Access Signature (SAS).

To learn more, read Roberto’s blog, Business Central save files to Azure Share from AL using SAS.

Days of Knowledge is coming to Atlanta in September

Days of Knowledge Americas 2024 will be held at the Loudermilk Conference Center in Atlanta, Georgia, September 12-14. This event is a must for Business Central developers and consultants. Don’t miss out, register now!

This week’s funny

Q: What language is used most often by developers?

A: Profanity

++++++++++++++++++++

Are you interested in Dynamics NAV and Business Central development? Check out our collection of NAV/BC Development Blogs.

Read “How To” blogs from ArcherPoint for practical advice on using Microsoft Dynamics NAV and Dynamics 365 Business Central.

Trending Posts

Stay Informed

Choose Your Preferences
First Name
*required
Last Name
*required
Email
*required
Subscription Options
Your Privacy is Guaranteed