Converting from C/AL to AL can be a bit of a hassle: First you need to open den Development Environment Then filter the objects that needs converting Export the objects to a txt file in a folder Then Run the Txt2AL.exe Lastly import them in the workspace So, I thought: Why cannot I do that directly from VS Code with PowerShell?
I have been struggling in getting my head around managing “stuff” on Docker. You know – the new kid in town that will see its use in many fields. We implemented a Docker-based environment for Build-server, for local dev, and now also for test servers for customers. And as you know – you can use is for much more!
Today, I was prepping for my 2-day Masterclass about developing Extensions in Visual Studio Code. And finally, I made some time to make a first version of a function that I have been wanting for quite some time: a function to remove all the custom apps from a docker image.
As I wrote here, there is an easy way to enter into a PowerShell container session, which I enhanced a bit in the second iteration to do dynamic name resolution for the containers.
We now have the “NAV Container Helper” script which adds some convenience cmdlets when working with container based NAV installs. I wanted to also enhance that with dynamics name resolution without having to add all the code to every cmdlet which turned out to be not that easy
One of my pet peeves about the PowerShell cmdlets that ship with NAV is the lack of built-in argument completion: the module in question knows exactly which server instances exist (after all, it has a cmdlet that lets you retrieve a list of these instances), but lacks the ability to enumerate the instance names when you specify a -ServerInstance parameter and press the Tab key.
I seem to remember that I have told you that I have created some modules in PowerShell to make my (and your) life easier in Microsoft Dynamics NAV.. ;-).
Well – it seems that these modules are getting some traction. They are available on Github, and the PowerShell Gallery – and people seem to be downloading them quite a lot.