Dynamics 365 Business Central: Snapshot Debugging (Debugging in Cloud Production)

Snapshot debugging allows a delegated admin to record AL code that runs on the server, and once it has run, debug the recorded snapshot in Visual Studio Code. For a delegated admin to create and download a snapshot file that exists on the server on behalf of an end-user, the delegated admin must be part of the D365 Snapshot Debug permission group.

Source : Dynamics 365 Lab
Read more…

Business Central Cloud renaming a PDF report using FileManagement.BLOBExport

On the Business Central Cloud, to save a report in PDF format and change its name while saving, you can use a STREAM BLOB through the “Temp blob” codeunit.

Once this is done, use the function then the BLOBExport function present in the “File Management” codeunit to export the report created with the “REPORT.SAVEAS” command, changing its name during saving.

Source : Roberto Stefanetti Blog – Microsoft Dynamics 365 Business Central
Read more…

A quick way to deploy your Azure Functions in the cloud

After my last webcast about Azure Functions, I received an interesting question: how can I quickly deploy a function to Azure? Or maybe to different Azure subscriptions or regions?

We saw in the webcast how you can deploy an Azure Function by using Visual Studio or Visual Studio Code directly. But Azure Functions have also a full range of continuous deployment and integration options provided by Azure App Service and you can deploy an Azure Function directly from a CI/CD pipeline in Azure DevOps. But there’s also a quickest way in my opinion: Zip deployment.

Source : Stefano Demiliani
Read more…

How to Leverage Visual Studio Online and Azure Pipelines to migrate your development environment to the Cloud!

With my previous blog, I had explained how to configure CI/CD for Microsoft Dynamics Business Central. The only drawback when it comes to developing in VS Code Online is that it works with Base Operating System as Linux. Which implies that the ALC(Application Language Compiler) built for Windows has to also work on Linux but it doesn’t.

Source : Olister Rumao
Read more…

How to use the Excel Buffer in Business Central cloud

A week ago, my friend Daniel asked a question on Twitter how to use the Excel Buffer to export data with Business Central online. Many functions on the Excel Buffer are only available for on-prem. When you change the target in app.json to ‘Cloud’ then those functions become unavailable.

Luckily I had a code example available so I decided to put that on GitHub. But I thought it would make sense to write a blog post to explain the code.

Source : Kauffmann @ Dynamics 365 Business Central
Read more…