Announcements
No record found.
Hi,
How to pack a multiple word files in a single ZIP file in D365 using X++ code.
Thanks in advance.
Regards,
Alex Jones AX
*This post is locked for comments
Using ZipArchive class sounds like a good approach.
Thanks Martin.
If you having any code snippet for that means please share.
You can call .NET API from X++ to do that.
Sample: dynamics4you.blogspot.sg/.../compress-files-in-ax-2012-zip-files-in.html
Sorry, I can't give you code if I don't even know what you want to do. For example, maybe you can simply call CreateFromDirectory(), which is trivial. But maybe you can't do it for some reason.
By the way, you can see one example in SrsReportRunController.downloadAndCompressFiles().
Thanks martin.
i had achieved it using the ZipArchive class
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CP04-islander 16
GiacomoRovai 4
Douglas Noel 2