ArcherPoint Dynamics NAV Developer Digest - vol 193
The NAV community, including the ArcherPoint technical staff, is made up of developers, project managers, and consultants who are constantly communicating, with the common goal of sharing helpful information with one another to help customers be more successful.
As they run into issues and questions, find the answers, and make new discoveries, they post them on blogs, forums, social media...so everyone can benefit. We in Marketing watch these interactions and never cease to be amazed by the creativity, dedication, and brainpower we’re so fortunate to have in this community—so we thought, wouldn’t it be great to share this great information with everyone who might not have the time to check out the multitude of resources out there? So, the ArcherPoint Microsoft Dynamics NAV Developer Digest was born. Each week, we present a collection of thoughts and findings from NAV experts and devotees around the world. We hope these insights will benefit you, too.
Microsoft’s New IntelliCode
Kyle shares, “This. I want this for AL.” He is referring to Microsoft’s IntelliCode, a new experimental developer tool for Visual Studio users that brings more of their artificial intelligence to software development. Going beyond IntelliSense, the smart code completion feature already available in Visual Studio, IntelliCode suggests the next API for a developer to use. It is currently only available for C# code in VS 2017.
Trish says, “Sounds a little 'Skynet' to me... Code that's learned to write code. :-o”
Prevent C/SIDE from Using ID’s Used by Extensions
Jon states, “Most things we find when navigating through adopting extensions, events, and AL Code is not rocket science. Most will hardly even be impactful, budget wise, to warrant a line item on an estimate or invoice. It's mainly learning a bunch of little things to add to your already full bag of developer tricks. Mark Brummel’s Prevent C/SIDE from Using ID’s Used by Extensions blog shares one of those tricks.”
He continues, “Microsoft hasn't addressed it yet, so, this is probably not the final solution, just a little "hack". It's actually a simple trigger on the meta data table that holds the object numbers "NAV App Object Metadata table." So, it at least prevents a developer from using an existing number. Otherwise, it would be a runtime error.
Bill notes, “They have this bug marked as ships-in-future-update.”
Kyle reiterates, “I still think we should use separate object ranges to avoid this conflict.”
Modifying a Word Report in Dynamics NAV 2017
Tom asks, “Does anyone know how to modify a Word layout in a NAV 2017 report? If so, can you please help me? I have been trying to change a field on one for too long and I have been reduced to incoherent screams of frustrated rage. I cannot get the new field to show up, no matter what I do.”
Deena says, “I believe Bhavesh posted something about a year ago. Here is the video on YouTube, How To Create Custom Word Reports in Dynamics NAV.”
New Screenshot Tool in Windows 10
The Verge shares some interesting news in that Microsoft has plans to release a new snipping tool in an upcoming release of Windows 10. You will easily be able to take screenshots and even be prompted to annotate them. Cool!
If you are interested in NAV development, be sure to see our collection of NAV Development Blogs.
Read the "How To" blogs from ArcherPoint for practical advice on using Microsoft Dynamics NAV.