Plaza 365
Plaza 365

No results found for your search

RegisterLog in

4

Visit article

#azure

Dynamics 365 Business Central

Category

Feb 22, 2025

Published date

Text

Article Type


AI Summary

  • In Dynamics 365 Business Central, there is currently no native way to combine multiple reports into a single PDF file.
  • A solution provided by the author involves using an Azure Function (.NET Isolated with a free and open-source library) to merge PDF documents into a single file.
  • The Azure Function allows users to pass a JSON array of documents in Base64 format and outputs a merged PDF document also in Base64 format.
  • The source code for the Azure Function is available on the author's GitHub repository.
  • Users can call the Azure Function directly from AL code in Dynamics 365 Business Central using a POST request with specific parameters.
  • The Azure Function works online and in-memory on the App Service, enabling the merging of different PDF files into one.
  • For handling a large number of files or files with significant sizes, it is recommended to refactor the code to use Azure Blob Storage as a repository.
  • The author encourages contributions and improvements to the Azure Function code through pull requests on the repository.

Registered users can view the full text for FREE!

Sign In Now!