Document Handling in Microsoft Dynamics AX 2009 and 2012
Document Handling is very useful to attach files related to AX data to forms. It’s possible to add data at any form. It is also useful to attache any reference document to any record in Form.
To use Document Handling you have to activate it by follow these steps...
To activate this feature follow the next steps:
1. Go to Basic – Setup – Document management:
![image image](https://blogs.solidq.com/AX/Lists/Posts/Attachments/8/image_thumb_2ABDFF9D.png)
![image image](https://blogs.solidq.com/AX/Lists/Posts/Attachments/8/image_thumb_2_2ABDFF9D.png)
2. Setup Parameters:
![image image](https://blogs.solidq.com/AX/Lists/Posts/Attachments/8/image_thumb_6_2ABDFF9D.png)
Active directory is the default path where allocate the files to attach.
Check Use Active document tables has to be activated.
![image image](https://blogs.solidq.com/AX/Lists/Posts/Attachments/8/image_thumb_5_58AB5255.png)
Number sequence to numerate the attachments.
3. Define Document types:
![image image](https://blogs.solidq.com/AX/Lists/Posts/Attachments/8/image_thumb_8_58AB5255.png)
For each type it’s necessary define the location folder:
![image image](https://blogs.solidq.com/AX/Lists/Posts/Attachments/8/image_thumb_15_58AB5255.png)
4. Select in which forms it’s possible to attach documents in Active document tables:
![image image](https://blogs.solidq.com/AX/Lists/Posts/Attachments/8/image_thumb_10_58AB5255.png)
5. Now, we can attach documents in the above forms. For example in Employees form:
![image image](https://blogs.solidq.com/AX/Lists/Posts/Attachments/8/image_thumb_11_58AB5255.png)
![image image](https://blogs.solidq.com/AX/Lists/Posts/Attachments/8/image_thumb_13_58AB5255.png)
For this example, we are going to attach a Photo:
![image image](https://blogs.solidq.com/AX/Lists/Posts/Attachments/8/image_thumb_17_58AB5255.png)
Select the photo and click open:
![image image](https://blogs.solidq.com/AX/Lists/Posts/Attachments/8/image_thumb_18_58AB5255.png)
With the check Show file activated we can see the photo/document:
![image image](https://blogs.solidq.com/AX/Lists/Posts/Attachments/8/image_thumb_16_58AB5255.png)
Also, we can open the document with the right button Open.
-Harry