After a longer break with blogging, I am now back with a really short one. But I thought this would be worth sharing 😉 Thanks to @waldo1001 and @KarolakNatalie who opened my eyes on this one 🙂 You might know this little message, although you might have already forgotten that you got asked, when youContinue reading “In VS Code you want to git stage manually…”
Author Archives: stefanmaron
Automated export objects from C/AL
This time I have some tips on how to use GIT integration when developing in C/AL with docker. When used to AL development one of the first things to notice when going back to C/AL is, that you do not have any version control. To solve this problem, I added a little bit of SQLContinue reading “Automated export objects from C/AL”
Business Central and Multiline Fields
I may introduce you to the “Microsoft.Dynamics.Nav.Client.WebPageViewer”. This is an awesome small controladdin shipped by microsoft. You can not only embed webpages in Buisness Central but you can also pass your own html!
AL Lint v0.1.7: Code Metrics
This morning I updated the code metrics calculation in AL Lint. Code metrics are meant to give you some comparable numbers on how complex your code is. Why is this important information? In general, if you install this extension, you aim for clean code. This is because code is written once but probably is readContinue reading “AL Lint v0.1.7: Code Metrics”
VS Code extension: AL Lint
Maybe you have read this in twitter already: I took over the AL Lint extension for VS Code from Marije Brummel. She searched quite some time already for someone and finally she found me 😀 For now I did two things on this extension for now. For the future I plan to cover code checkingContinue reading “VS Code extension: AL Lint”
Condition basics in AL
Recently I posted a “Did you know that …” post on Twitter showing an alternative way to write an if-condition. Today I thought: Hey, I might have some more examples for different ways to write conditions and here we are 😉 First start with the most simple if statement there is: It just checks ifContinue reading “Condition basics in AL”
Coding4Performance 5: FindSet vs FindFirst
Today in coding for performance, we talk a bit about FindSet and FindFirst. I actually had plans to make this one the first post in this series. But it turned out that the differences between this two commands are not as obvious as I first thought. Let me first place a huge disclaimer here: EverythingContinue reading “Coding4Performance 5: FindSet vs FindFirst”
Coding4Performance 4: Task Scheduler
In my last post about Start Session I explained how you can easily run a Codeunit in background and relieve the user session. The downside on this method is, that your background task still runs on the same server instance like the user session does. If you have only a few users and only oneContinue reading “Coding4Performance 4: Task Scheduler”
Coding4Performance 3: Start Session
As promised, here the first (and easiest) way to run code in background. This blog will be a bit shorter, as Start session is quite straight forward. Note: If you did not read the previous blog about Background tasks in general, maybe you should start there 😉 I created an example scenario for which aContinue reading “Coding4Performance 3: Start Session”
Coding4Performance 2: Asynchronous development and background tasks
In this post I will explain the general concept of asynchronous development and background tasks. So everyone knows how procedural development works. In Business Central it starts with a user which logs in to the web client and starts a user session. The first page which opens is most likely the role center page. BehindContinue reading “Coding4Performance 2: Asynchronous development and background tasks”