NAV in VSCode – Hello World

Today marks something quite unique, at least for the NAV world. Microsoft is actually giving us a preview of a preview product that they have announced for Christmas.

During this year’s conference season, Microsoft has shown their vision of the future development tools for Dynamics NAV. We’ve seen various demonstrations of how we will be doing development for NAV in Visual Studio Code, a lightweight development tool. Today they have put some sample files on GitHub (Check it out here) for all of us to look at and to critique.

Visual Studio Code (VSCode for short) is available on Windows, but also on MacOS. Since my main computer is a MacBook, I wanted to see if it really does work. To be modifying NAV objects within VSCode on a MacBook is an almost surreal experience, but here’s proof:

screen-shot-2016-11-29-at-4-22-41-pm

The sample is a simple “Hello World” application, with a couple of codeunits and a so-called ‘page extension’ object. Part of the vision for future development is to make building extensions easier. Without going into any detail of why that is important, this will make extension and app development a LOT easier to do.

Some of my thoughts:

  • Microsoft is finally taking NAV development into a professional development tool. Hopefully this will inspire (or at least not deter) a new generation of NAV developers
  • json files for configuration and for the app signature will make automating deployment much easier
  • No more control ID’s, which means those will no longer cause upgrade headaches
  • I would like to also get rid of object ID’s, which they have said that they are looking into. Current licensing is based on object ID’s though, so I’m not holding my breath
  • It will be interesting to see if there is any automatic sorting by control type. For instance will you be able to mix fields and functions in a table object, or will the compiler automatically sort this for you. There’s potential to really mess up the object’s readability
  • This is Visual Studio Code, not Visual Studio. It is still to be seen whether C/AL will be a fully functioning .NET language, and it is still unknown whether we’ll have access to other .NET goodies from this editor
  • Lastly – we are getting just a preview of the tool. Nothing was said with certainty about when this is ready for prime time. What is REALLY cool though is that Microsoft is inviting everyone to participate in the process

Go check out the files for yourself, and if you’d like you can even contribute to the GitHub project. For me, this is a very exciting prospect, and I can’t wait to see what happens next.

NAV Techdays 2016 Recap

This past week was the NAV Techdays event in Antwerpen. If you don’t know what this is, head out to their website and read the ‘About’ section. This year’s edition was I think the 7th time, and it was the first time that there were more than 1,000 attendees! In my opinion, this event is BY FAR the best technical event for NAV, head and shoulders above any other event, not in the least because there are two days of pre-conference workshops.

Last year was the first time I had gone to NAV Techdays, and after the truly exhausting three days, I was utterly satisfied and I promised myself that I would do everything in my power to come back every year going forward.

My highlights:

  • Pre-conference workshops. I had signed up for Black Belt Powershell by Eric ‘Waldo’ Wauters, and for Deep Dive into Events/Extensions by Arend-Jan Kauffmann. Both days were very intense, there was a TON of new information for me, and I was utterly done at the end of both days. The knowledge that I have gotten out of these two workshops will help me stay relevant as a technical person in the NAV world. These two workshops alone were worth traveling to Europe for.
  • Extensions related sessions – I made it a point to attend as many sessions about extensions as possible, since I believe it is the most important technological development in our industry this year. Especially Gunnar’s session about migrating to Events and Waldo’s session about Extensions Best Practices were eye openers
  • PowerBI and NAV by Steven Renders was absolutely INCREDIBLE. The sheer amount of information that this guy put into his session was just unbelievable. I bet he could fill two days of proper training about all the things that he showed us. Well done Steven!

I would have liked to see the sessions about Office 365 and the design patterns session, but I can’t be in two places at the same time. Lucky for me (and everyone else) Luc records all of the sessions and puts them on YouTube. He even puts the videos in individual playlists per year, for instance you can see all videos for 2016 here.

NAV Techdays is my favorite event. The sessions, the pre-conference workshops, the super-comfortable venue, the amenities, the production, the expo area, meeting my kind of peeps in person. It feels like this is “my” event, and I hope to be able to go each and every year from here on out.

Update 11/20/2016: Slide decks available here

Update 11/23/2016: Added links to YouTube videos

The Microsoft Cloud

When I hear people talk about ‘the cloud’, I sometimes wonder if they really know what they’re talking about. For sure when I hear the sales pitch of “NAV in the cloud”, the hairs at the back of my neck stand up, because I know a bunch of different ways that you could interpret that. Are you implementing NAV in a virtual machine that is hosted online? Are you providing a managed service? Soon it might mean a Dynamics 365 implementation. Not to mention how many companies almost seem to gleefully try to confuse you even further when they talk about the cloud.

A few years back I was attending a Microsoft presentation, and they were showing us their plans to build some brand new data centers all over the globe. As they were talking about those data centers, it dawned on me…. The cloud is nothing more than buying processing power from some provider or other. Microsoft has their Azure platform, Google and Amazon have theirs, but all that “the cloud” means is that those providers charge you for the computing power to provide those services.

I was reminded of that presentation when I saw this video in my Twitter feed. Have a look and see if you find it as fascinating as I do.

The Skinny on Extensions

Earlier this month I wanted to write about what’s new in NAV 2017, and my fellow MVP and good friend Eric ‘Waldo’ Wauters beat me to it. So, my next plan was to write something comprehensive about extensions. I am signed up for a deep dive workshop next month, and I want to be well prepared. Again, as I am collecting information, this guy publishes a large post about extensions, and judging from the title it looks like it was the first of three posts. So…. instead of doing the work myself, I waited for him to post number three, and give you the links in here: Part 1, Part 2, and Part 3.

I could try and say something intelligent about these posts, but I’d make myself look foolish. After the workshop I’ll have plenty to share anyway. Enjoy 🙂

Dynamics 365 Primer

Real quick one today, basically a repost of a CustomerSource post today.

The new Dynamics 365 offerings are a bit…. shall we say…. confusing? Ambiguous? The Dynamics 365 page itself seems to have a large number of products on it, they call it all sorts of names, there seem to be a couple of different editions, for different markets. This post is a good attempt at creating some clarity around Dynamics 365.

In a nutshell:

  • Microsoft wants to re-invent business processes. Personally I think that’s BS because the processes themselves won’t really change, it’s just that those processes will be executed by a set of online integrated products. Don’t get me wrong, the technology is moving at lightning speed, and the capabilities are mind-blowing. Microsoft calls it ‘digital transformation’. Now it is REALLY awesome to be able to have a conversation with a prospect, create a quote/order right from your email, have everything posted immediately in your financial system, and see sales figures in a dashboard in real time. The technology to make that happen is now becoming a reality, but the business process itself is really not that different.
  • Clarity about the Dynamics Portfolio. Really important to understand the various products and how they connect and relate. Dynamics 365 Business/Enterprise are based on NAV/AX respectively, GP/SL will technically not have a cloud offering. The consequences for SL/GP partners is that they will have to learn NAV/AX to go into the cloud.
  • Other Microsoft technologies, such as the common data model, PowerBI, Power Apps, Flow, Azure… These will all be offered in a way that allows you to integrate them in a seamless way. You can extract data for your PowerBI dashboard from any other Dynamics offering, and present the relationships in one look. You can use Flow and Power Apps to build your custom workflow, and use data from multiple systems in real time. VERY powerful stuff.

Have a read in this article, there are a ton of links in there for you to follow down the rabbit hole.

Lift and Shift – Directions US 2016 Recap

Directions US 2016, which was held at the Sheraton Wild Horse Pass Resort in Chandler, AZ, was another very successful event in my opinion. Beside the fact that the resort is just a couple of hours down the mountain from my hometown of Flagstaff (so that is an awesome drive with the top down), this year’s program provided a wealth of great content.

Since Microsoft restructured their event rotation, it’s become more difficult for partners to get good content. Envision (which was supposed to be the replacement for Convergence) did not provide any Dynamics-specific content at all (read my thoughts on that here), and the Directions committee has done a fantastic job to step up their game this year. Whether you were looking for marketing content, project management, functionality, or deep technical information, there was an extremely rich variety of sessions to choose from.

The most important message this year was Dynamics NAV 2017 AND Dynamics 365 (notice the emphasis on the word “and”). Ever since Microsoft started their ‘Cloud first, Mobile first’ campaign, there has been a fear that this would come at a cost to the on premise business, which is the bread and butter of the majority of the NAV channel. Paul White came on stage and announced their commitment to the “AND strategy”. Yes, Dynamics 365 is the next big thing. Yes, on prem is still essential to Microsoft’s NAV strategy. If you follow my Twitter feed from the one above here, you’ll see pictures that I took from the keynote. It was good to get Microsoft’s commitment to making sure that cloud and on prem will BOTH be served.

What was very interesting to me was the presentation on how they look at taking NAV functionality into the cloud, in what was called “Lift and Shift”. The “Lift” part was the move into cloud infrastructure, where you can deploy virtual servers in the cloud, and essentially deploy the system in the same way you’ve always done with physical servers. The “Shift” part was where these pieces will be deployed in the cloud directly. Think about the managed services, where you don’t have to worry about any infrastructure. You select the pieces that you want, and it gets deployed directly in the cloud.

About Dynamics NAV versus Dynamics 365 – they make it sound like these are two completely different systems, but you have to remember that Dynamics 365 Business Edition is based on NAV. Although they have not ruled out a divergence of the codebase, when you run Dynamics 365 Business, you are literally running actual NAV code. The technology allows for only certain parts of the functionality to be visible in Dynamics 365.

This year I did two sessions:

  • Basic Development Best Practices – with Dynamics 365 Business being based on NAV, there will be a significant influx of new NAV partners that will develop their IP, and my session was intended to show them around the available tools. You can get the slides here, although I spent most of the session showing them around the tools. It was nice to have some experienced NAV people in the room who were nice enough to share their expertise
  • Partner Technical Panel – this session was a round table type discussion, where we talked about current developments in NAV technology. It was a lively discussion between pretty geeky people

I think this year’s Directions was one of the best I have attended. The organization was terrific, great content, and it was well attended. Next year’s event will be in Orlando at the Grande Lakes JW Marriot, September 17-20, 2017. Hopefully I’ll be there again, and I’ll see you there.

Presenting at Directions US 2016

Just today I got word that I will be presenting at Directions US in Phoenix. Neither session has an official name yet but with this information you should be able to find them on the schedule once dates and times are finalized.

First, I’ll present a session about basic best practices for development in Dynamics NAV. Dynamics 365 comes in two flavors. The first is Enterprise Edition, which is based on Dynamics AX. The other flavor is the Business Edition,which is based on Dynamics NAV. Because there are the only two flavors, there is going to be a big influx of Microsoft partners that will need to do development in Dynamics NAV.

Eventually, the goal is to educate partners in how to set up their development practice, and the first step is to learn about some best practices of how to do the actual development itself. This is where my session comes in. Not very exciting stuff for seasoned NAV pros, but if you are a Microsoft partner that wants an introduction into NAV development, this is for you.

The other session will be a panel discussion about the current and future state of the technology for Dynamics NAV. Me and some other MVP’s will be happy to answer any questions you may have, and hopefully have a lively discussion. In my experience, there will be plenty of people in the audience who will have a lot of add to the discussion. These types of sessions are always fun to attend.

This is the view from my office in Flagstaff, AZ. I can’t wait to drive down the mountain in September and meet you at Directions in Phoenix.

Extensions! Extensions! Extensions!

Just a quick post today about something that is probably the most important thing to learn as a NAV developer, which is Extensions.

I remember going to an event where Steve Ballmer did the keynote. It was a technical conference, and he started his talk by almost screaming “DEVELOPERS! DEVELOPERS! DEVELOPERS!”. It was meant to make the people in the audience, who were almost all developers, like the most important people on the face of the earth. He kept hammering on the point that developers were THE MOST IMPORTANT to Microsoft, and showed us all kinds of evidence that this was the case.

This past year or so has seen a big push toward this new thing in NAV development called ‘Extensions’. Rather than modifying the base code of the product, which is what most of the NAV partner channel is doing for their customers, extensions allows you to create custom functionality without actually touching the base code itself. Coming back from Directions this year, it has become clear that Microsoft is ALL IN on moving NAV development toward extensions. My fellow MVP and good friend Eric ‘Waldo’ Wauters wrote about extensions as well this week, so I won’t bother repeating that part.

What I want you to know about extensions is that as a technical NAV professional it is essential for you to learn about extensions. Your ability to keep your relevance in this industry will depend on whether you are able to effectively use extensions to develop a custom solution for NAV. Apps for Dynamics 365 are only possible with extensions, but it might even become necessary to use extensions for on prem implementations.

I’m signed up for a full day pre-conference workshop at NAV Techdays this year, which will hopefully give me the necessary skills to get that started for me. What are you planning?

Dynamics 365 and AppSource

I read this blog today, and I tweeted about it too. What struck me about the article is how it talks about how Microsoft wants to help you focus on your business while providing a connected set of systems that seamlessly work together for you.

You might have read about ‘Project Madeira’, for instance on Waldo’s blog, or Erik Hougaard’s blog, or many more just like it. Even Marko Perisic, the General Manager for Dynamics SMB wrote about it. Today’s announcement is about where Madeira leads, and it’s called “Dynamics 365” and the new “Microsoft AppSource”.

The landing page for Dynamics 365 is still very confusing to me. There seem to be a lot of products underneath it all, like ‘For Sales’ or ‘For Operations’ and more like that. Then on the pricing page there is another subdivision into  an “Enterprise Edition” and a “Business Edition” where you can play around with some configurations. Now some of those are based on NAV and some of those are based on AX. What always annoys me is that it is not clear at all to figure out what is what. If the Business Edition is based on NAV, how come I can only see a small subset of the functionality?

The part that does seem to be clear is that there will be a store of some sort where you can purchase, and they have called this store “AppSource”, check out this link. They even created a video with one of those supremely irritating cute little Ukulele ditties.

The article goes into some marketing fluff like “Helping customers transform with a new approach to business process” and “technology is transforming our lives”, but overall it does a pretty good job I think to talk about how business processes interact and how you need different systems to execute those processes. There are a lot of moving parts, like PowerBI, Cortana, Office 365, common data model, work flow, and a bunch of other ones. The purpose of the article seems to be that Microsoft is working on putting together a set of cloud solution that can help you put it all together.

Two new names to keep track of: Dynamics 365 and Microsoft AppSource. I’m sure in the months to come there will be a lot of new information about these. If you are a NAV partner, I would certainly consider going to Directions this year, and as an end user I’d look at the NAVUG events.