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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Download the document attachment in D365

(1) ShareShare
ReportReport
Posted on by

Hello, 

How can I download the attached files and store them in a zip file using X++ Code?

Using D365 F&O 

Thank You

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at

    Hi Pioneers,

    Can you explain in which order you want to execute this all? Note that the download can't be started within x++. That would be a triggered by an user action.

  • Pioneers Profile Picture
    on at

    hello sir,

    I have PDF Attachment

    I want to print this attachment as an SSRS report

    how I can do that ??

    Thank you

  • André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at

    Hi Pioneers,

    This is a complete different question. Please don't change the topic of the original question. Instead, you can create a new question on the forum.

    Do you still need help with the downloading and creation of a zip file?

  • Pioneers Profile Picture
    on at

    Hi André Arnaud de Calavon

    sorry , Yes I need that .

    thank you

  • Martin Dráb Profile Picture
    237,884 Most Valuable Professional on at

    You can use System.IO.Compression.ZipArchive to create a zip archive. You can find a few examples on internet, such as Create zip file with entries and download link.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 565 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans