ArcherPoint Dynamics NAV Developer Digest - vol 194
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.
Visual Studio Live ShareMicrosoft’s Visual Studio Live Share is now available, providing real-time collaboration regardless of what language you are using or app you are building, utilizing your favorite tools.
Azure Container InstancesMicrosoft also announced that Azure Container Instances are now generally available. Container Instances allow you to run containers without managing servers, deploy containers on demand, secure applications with hypervisor isolation, and much more.
Design Patterns: Product Name UsageIt is not recommended to hardcode the product brand name in your messages or errors. See this Dynamics NAV abstract to learn the proper way to incorporate the product name in your messages and errors.
Job Queue Email Notifications SetupConstantine reaches out to the team, “I'm working on a support case that involves running Job Queues for sending out email notifications. The part that I'm stuck on is setting up a NAS Service so that the Job Queue can run automatically without being dependent on a user session running. Is there someone that could lend their expertise? That'd be greatly appreciated. Thanks in advance!” Kyle: “What version of NAV? I can help (regardless of the version).” Constantine: “Thanks for connecting. The client is on NAV 2016.” Kyle: “My recommendations:
- Run the NAS in a separate (and dedicated) NST. You want to be able to restart it without affecting users.
- Use an Active Directory domain account as the Service account and make sure that is a NAV Windows user with the appropriate permission sets.
- Make sure the Startup Codeunit is set to 450 in the NAS tab under NST settings.
Developer Tip of the DayKyle gives props to Ed Fager for this one, because he is “Da Man.” “Suppose you are trying to export all database objects to a text file. The customer license has access to some objects; our dev license has access to some others. How do get as many as you can since it always dies on the first violation, and you have no idea how large the list of violations may be? Select all objects, and then Lock them. The Dev client is smart enough to lock only the objects the current license can edit. Filter. You still have to do the export in pieces, but this should still save you some time.”
Matt T. adds, “Depending on the version you can also use PowerShell and tell it to skip the objects you don't have access to.”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.
- Login Error: Communication protocol mismatch between client and server
- Creating a Date Table in Power BI
- How to Make Measures Total Correctly in Power BI Tables
- The Microsoft Technology Stack – What It Is and Why You Should Care
- The Top Eight KPIs Retailers Should Be Tracking (with Formulas) for Your Retail KPI Dashboard