Dynamics Business Central / NAV Developer Digest - Vol. 436

Dynamics Business Central / NAV Developer Digest - Vol. 436

ArcherPoint’s Developer Digest focuses on Microsoft Dynamics 365 Business Central and Dynamics NAV development. This week’s volume includes file-based external integrations in SaaS, a VS Code debugger issue, and using predefined configuration packages to be more agile.

The Dynamics 365 Business Central community comprises professionals devoted to advancing the success of their customers. Developers, project managers, and consultants collaborate to share helpful information across blogs, forums, and social media sites. From discovering new solutions to finding answers to complex issues, these dedicated individuals are constantly sharing their knowledge with others. At ArcherPoint, we recognize and appreciate this highly engaged community’s creativity, hard work, and collective intelligence. To ensure all users can benefit from their expertise, we want to share their wealth of information with everyone.

This weekly digest presents a collection of thoughts and findings from Dynamics NAV/BC experts and devotees worldwide each week. We hope these insights will benefit you, too.

Learn About Microsoft Copilot in Business Central

Register for a Microsoft Office Hour call on June 6 to learn about Microsoft Dynamics 365 Copilot in Business Central.

File-Based External Integrations in Business Central SaaS

Question: I have done many OnPrem file-based external integrations in the past, things like importing 3PL revenue and payments that are dropped off in a specific FTP directory. How do you accomplish that in BC SaaS? I know there are Azure FTP services, but where is the data stored, and how do you import multiple files into BC from that storage?

Yann replied: The solution that has worked for us in the past is to connect the FTP Server to OneDrive/Sharepoint and to use Graph API to get to the files from BC. This was the solution the client asked us to develop. Research shows that we could connect FileZilla Server to OneDrive. I think Azure Blob or file storage is also a good option. In this situation, it may be easier for the end users to work with OneDrive as they require direct access and can be easily shared between end users. I’ve been testing this process in my CDX, and it works great.

Heinrich V added: I am working with a client where they drop payment files in SharePoint. I use a simple Power Automate cloud flow to detect that a new file has been created, then push that into BC using a new Update file to BC function that basically pushes to a custom API page into a BLOB field from where you can load it to a mediaset. I am still looking at trying to replicate the standard pictures upload behavior (that is used for item/customer/Vendor and attachments). Obviously, the media/mediaset mechanism is way cooler than using a blob, and where Microsoft wants us to go.

VS Code Debugger Issue

Heinrich V posted: The last day or so, I have been struggling to debug BC from SaaS. When I reach the first breakpoint, everything shows up correctly, but if I then hit Step Over (F10), my yellow debug line freezes. It seems to still recognize the step over (F10) and run (F5) because BC continues as if everything is cool. But my debugger is stuck. Has anyone else experienced this? After working with it for a while, I realized if I put breakpoints on each line, and just used F5, I could get it ‘working’. But hitting step into or step over killed everything.

Mohana Y. replied: There is a fix posted on GitHub: “Debugger stops at first breakpoint and won’t move on in VSCode 1.78 #7388”.

Predefined Configuration Packages for D365 BC

Krzysztof Bialowas (Kris) posted a time-saving technique using predefined configuration packages.

“During Direction North America, I spoke about how partners need to be agile. I truly believe that we need to adopt our processes of doing implementations faster – not only because Microsoft desires that but also because more and more customers want it.

Predefined configuration packages can save you time and can be imported in a more structured way than just importing a file.

According to Kris, “I can tell you that I am using this approach (or one of its variations) almost every day preparing demo company or doing setup for ISV solution – the whole process reduced my preparation or setup time from at least 1 hour to 5 minutes.”

Check out Kris’ blog, “Predefined Packages – be more agile”.

Interested in Dynamics NAV and Business Central development? Be sure to see our collection of NAV/BC Development Blogs.

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

Trending Posts

Stay Informed

Choose Your Preferences
First Name
Last Name
Subscription Options
Your Privacy is Guaranteed