Just as with the snapshot debugger, attach the AL debugger to either an existing running session or to the next session for the specific user. In both cases, this is set up by specifying a session ID or a user ID in the launch.json attach configuration.
Tag Archives: Session
Sessions, Tasks or Job Queue, what to use?
I got a question the other day, about executing AL in the background. We now have several options for doing that, but what should you choose? Check out the video for my perspective:
IsolatedStorage, a way to store global data in a session
“Isolated storage” is a data storage method that allows you to isolate data between different extensions, even within the same extension.
It is possible to archive key-value pairs in an isolated archive and define the scope of the archived data (through an access level called “Data Scope“).
Dynamics 365 Business Central: How to debug in phone/tablet client session
Today I would like to talk about an interesting question I saw last week, how to debug in phone/tablet client session.
Debugging is the process of finding and correcting errors. With Visual Studio Code and the AL Language extension, you get an integrated debugger to help you inspect your code and verify that your application can run as expected.
How To Run Background Processes In Business Central: StartSession
When dealing with long processes, Microsoft Dynamics 365 Business Central provides some tools to mitigate the wait and provide a better user experience. In this post, I will show you how to run a background process using the StartSession function.
How to kill session in Business Central
Recently faced a problem of table locking which goes in not responding stage and finally user close the tab ,but when user opens the session again it actually messed up the critical data (It seems unimaginable force was roaming that time when this happens). Eventually after trying couple of days for data correction I need to contact Microsoft to restore the database.
Cross Session Events and SELECTLATESTVERSION
Recently I worked on something very interesting related to a integration between MS Dynamics Nav and an external payment service provider. I had to use custom Cross Session Events to solve a problem which I think it’s worth sharing. So this why this post.