web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Merge PDF files in the DocuView form

(1) ShareShare
ReportReport
Posted on by 17
We have an requirement to merge PDF files we can attach in the DocView form (see screenshot). Currently each line if the type is 'File' has it's own attachment, for example an invoice. According requirement, DocuView form should be extended with a button /Merge PDF/ . This button should add a new record ,collecting the PDF attachments of the existing records, merge these and place it as an attachment for the created line. 
Does anyone know if there were I can find an X++ example how to achieve this or via a D365 forum or via an example in D365 Finance?
 
I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    238,747 Most Valuable Professional on at
    You can use PDFsharp (or maybe some other similar library) to merge PDF files. For example, look at PDFsharp Sample: Combine Documents.
     
    I suggest you first write C# code to test the approach and then either rewrite to X++, or wrap it to a library and call the library from X++.

    (Moved from Dynamics AX forum to Dynamics 356 Finance forum. The prefix 'D365 Finanance: ' removed from the title, because it's not needed anymore.)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 510 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 399

#3
Adis Profile Picture

Adis 251 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans