ArcherPoint Dynamics NAV Developer Digest - vol 234
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.
Business Central On Premises Cumulative Update 3 Available
Cumulative Update 3 for Business Central on premises is available, although Kyle notes that you can already download a Docker container with CU4. The cumulative updates found in CU3 for Dynamics 365 Business Central include a plethora of platform hotfixes, application hotfixes, and country specific (local) application fixes.
See the list of all CUs available for MSD365BC on premises.
Creating Parameters for an Event Subscription
Bill Warnke shares a tip: “When creating parameters for an event subscription in AL, you can grab them quickly from the publishing event. If you view the definition of the object, find the published event, then copy and paste them into the parameters for the subscriber.
Unfortunately, the autocomplete for parameters doesn’t work in the .12/.13.16 VSCode extensions, it’s better but still pretty iffy in >2.0 versions.”
Figure 1 – View Object Definition
Enabling Manual Installation of .app File in Sandbox
Bill Warnke asks for votes to: “Enable manual installation of .app file in a sandbox environment, noting that it looks like it is planned for a future release – but upvotes can’t hurt.”
This proposal states that ‘Loading an extension with only the .app file (manual deployment) on a sandbox environment is extremely useful for testing purposes or for consultants who want to test an extension to a customer environment before putting it into production.’
Docker Process Isolation on Windows 10
Thanks, Kyle Hardin, for this link.
Bill W exclaims: “Blazing fast creating a new container!”, adding “Initialization took 54 seconds. Ready for connections!”
Color Match Your Brackets
Want to match your color brackets? Bill W shares with us an extension on the VS Marketplace for Visual Studio Code called Bracket Pair Colorizer 2, which allows you to color match your brackets.
Len Bobinski responds: “Cool extension, but the Begin/End pairs don’t color correctly when there is a Then without a Begin/End in the middle somewhere. I really wish AL would just require Begin/End pairs everywhere…(sad)”
The File You are Trying to Use is Too Large
Kyle provides another great developer tip: “If you get the error message, ‘The file that you are trying to use is too large’, when trying to import with either Rapid or an XMLport, there is a setting in the service tier that can fix that. Either use the Admin tool and set Max Upload Size to something larger (the default is 30 MB), or you can edit the CustomSettings.config file directly:
You will have to use this second method if you are in a Docker container.
If you are interested in NAV 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.