Skip to main content
Submitted by Suzanne Scanlan on 4 September 2020

ArcherPoint Dynamics NAV / Business Central Developer Digest - Vol 309

ArcherPoint Dynamics NAV and BC Developer Digest Blog

The Dynamics NAV and Business Central 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/BC experts and devotees around the world. We hope these insights will benefit you, too.

DevOps for AL Development Online Course

Waldo is offering a 4-part online course on Microsoft Azure DevOps with a focus on AL Development. Learn more about the course, prerequisites, and cost on the waldo.be blog. Course schedule is September 21, 23, 24, and 30.  

List of Published Docker Images for Dynamics 365 Business Central

Kyle shares this: “We can currently get a list of published Docker images for BC using this web URL: https://mcr.microsoft.com/v2/businesscentral/onprem/tags/list” 
and asks: “Is there an equivalent to see the available Docker artifacts for Business Central? 

He then adds:  

     Get-BCArtifactUrl -select all -type onprem -country na 

     Get-BCArtifactUrl -select all -type sandbox -country us”

Developer Tip of the Day: PowerShell and Modules

Kyle provides some advice: “Developer Tip of the Day: Think of modules as little apps for PowerShell. Business Central has one that gets loaded every time you launch the Business Central Administration Shell. NavContainerHelper was written by Freddy Kristiansen, and it was designed to get installed and stay there, rather than having to be loaded each time like the BC one. But there are others, too—Microsoft has one for SQL Server that I use to refresh test databases using backup and restore. 

You can see what you currently have installed with Get-InstalledModule.

You can add new modules with Install-Module. I used SqlServer: Install-Module SqlServer.

UpdateModule will ‘upgrade’ your installed module if there is a newer version available. Every time I build I Docker container for BC, I always have Update-Module NavContainerHelper as the first command in PowerShell.”

Suresh replies: “If you want to install the BCcontainerhelper module, you need to uninstall navcontainerhelper and unfortunately uninstall-module or remove-module didn't work, but the below script worked for me:  

     Get-InstalledModule Navcontainerhelper -AllVersions | % { 
     Write-Host "Removing old version from $($_.installedlocation)" 
     remove-item $_.installedlocation -Recurse -Force 
     } 

Credit for this goes to Waldo.”

Kyle adds: “And you want BCContainerHelper. NavContainerHelper will be maintained, but BC is the only one that will have new functionality added.” 

Yammer Group for Microsoft Business Central Developers

Kyle has a tip for developers: “There is a Yammer group that is basically run by the Microsoft Business Central development team. Freddy participates, as do some of the platform and application developers. It seems to have taken the place of Mibuso as the go-to place to listen to experts—Mibuso seems to be a ghost town these days.

But you have to ask for an invitation. There should be a link at the top of the discussion group, Dynamics 365 Business Central Development External Network

Pros and Cons of Updating to Windows Build 2004

Kyle wants you to know: 

“Good: Updating to Windows build 2004 fixes that annoying ‘Activate Windows’ problem we've all been living with for two years.  

Bad: You will have to rebuild all of your Docker containers.

Worth it.”

URL Rewrite Disappeared from Microsoft Downloads

Suresh shares this from Freddy Kristiansen in his One of These Days…. post, noting “It is affecting the pipelines and especially ones that are using new artifact URL.

Better Indexing and Key Features: Cast Your Vote!

Kyle shares this news from the aforementioned Developers Yammer group: “Microsoft is considering adding better index and key features, including spanning a table and table extension. Go vote now on the features you think are most important for indexes

 

If you are interested in Dynamics NAV and Business Central development, be sure to see our collection of NAV/BC Development Blogs.

Read the "How To" blogs from ArcherPoint for practical advice on using Microsoft Dynamics NAV and Dynamics 365 Business Central.

Blog tags