Skip to main content

Zipping the file in AX 2009

In various scenarios, it is required to zip the file to reduce its size or to encrypt it altogether so that specific people have access to it. Hence it becomes an integral part in this era to share information safely.
The dll Ionic.Zip for zipping the file is does not exist in AX 2009 by default. Firstly we need to download the dll and place it in the bin(both server and client folders) of dynamics AX. The bin folder is present in Microsoft dynamics AX > 50 > Application > Client > Bin.
After this, add a reference of that dll in References node of AOT. Zip file
Now create a method to zip the file.
Zip file code.PNG

Comments