Blog
-
Creating an Azure VM with NAV 2015 using PowerShell
This post is well overdue, I admit it. I have demonstrated so many times so far how to create an Azure VM instance running Microsoft Dynamics NAV through a PowerShell script running on your PC, and it’s just about time to share this script and the theory behind it with the world.
-
Passing JSON from JavaScript to C/AL–Part 2
I stand corrected. A month ago I wrote about how to pass JSON from JavaScript to C/AL and then handle it inside, and what I wrote is not wrong, but I just figured a simpler way. Too bad all this is not documented, but hey – that’s why blogging is fun.
-
Passing JSON from JavaScript to C/AL
Yesterday, I said I was closing this year of blogging, but I wasn’t really. Closing a year with 39 posts, and leaving a question lingering, wouldn’t be too fair, would it? If you read my last postabout how to pass objects from C/AL to JavaScript , you must have wondered if it’s possible to also pass objects from JavaScript back to C/AL.
-
Passing strongly typed data to a JavaScript control add-in
Many cool things often go undocumented. I’ve just stumbled upon one of those, and it comes in handy to close this year of blogging. Imagine this situation: you have a server-side .NET object, that you want to pass on to the client.
-
Goodies from the Control Add-ins session at NAV TechDays 2014
First of all, thank you all who attended my session today. It was a lot of people in the room, and with the competition from Microsoft talking about a very hot topic in the other, bigger room, I really wouldn’t expect to see all of you there.
-
The “Life Hack” from today’s Session
And yes, I almost forgot… Somebody (sorry, I didn’t catch the name) asked me to put my life hack on the blog as well, so here it is. For all of you who were not there, I use this as a template for declaring .NET variables – until Microsoft provides means to declare them in a simpler ways. Inline, anyone?
-
DEmos from the .NET Interop for Mere Mortals
Thanks to everybody who attended my session today at NAV TechDays 2014 in Antwerp. As promised, here are the goodies from the session. I’ve simply taken the objects and I deliver them here with no explanations or comments – when Luc publishes the sessions and the slide decks on Mibuso, you’ll be able to figure out what’s what.
-
NAV TechDays 2014 Pre-conference goodies
So, NAV TechDays 2014 have started, again, with the pre-conference sessions that were all sold out and packed full. Today I had an extraordinary pleasure to teach the advanced .NET Interoperability concepts to 15 people that came from all over the world, from Brazil to Australia.
-
Do you have a value, Mr. BLOB?
To check if a BLOB field has a value, you call its HASVALUE function. For example: IF Item.Picture.HASVALUE THEN; In older versions, earlier than NAV 2009, you had to call CALCFIELDS before you could check HASVALUE, which – if you think of it, did not make much sense.
-
Improving semantics through function properties
Any function that accepts only one parameter can be called as if it were a property, and this applies to built-in system functions, your own custom functions, and even .NET methods alike. Instead of doing it like Report50001.SetDefaultPostingDate(101015D) you can always do it like Report50001.SetDefaultPostingDate := 101015D.