Summary
In this chapter, we covered a lot of advanced topics and saw some tricks to implement particular tasks with the AL language extension.
We saw how to use access modifiers in code (useful to protect your object’s visibility), how to use TryFunctions
and collectible errors in order to create a better error-handling experience for your users, how to handle structured data with XML and JSON (useful to manage data coming from files or API or web service calls), and how to add security to extensions data by using Isolated Storage and Azure Key Vault.
We also saw how to improve the Dynamics 365 Business Central user experience by using control add-ins, and how to use asynchronous programming to execute tasks in the background without blocking the main UI (a useful trick to provide users with a fast page-opening experience).
You are now able to create complex extensions to improve the general user experience and handle different business tasks.
In the next chapter...